Skip to content

Instantly share code, notes, and snippets.

@Marchuck
Last active Sep 4, 2015
Embed
What would you like to do?
horyzontalna markiza MarqueeTextView needs textView.setSelected(true) at onBindViewHolder()
<TextView
android:id="@+id/draggable_list_swipe_item_stops_stop_name_data"
android:layout_width="100sp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/fragment_timetable_padding"
android:layout_marginTop="@dimen/fragment_text_margin"
android:text="@string/draggable_list_item_stops_stop_name"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#e0000000"
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:paddingLeft="15dip"
android:paddingRight="15dip"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:textStyle="bold" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment