Commit 5bd4a336 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Adrien Maglo

UI Directory : Fix the scrolling text issue

Signed-off-by: Adrien Maglo's avatarAdrien Maglo <magsoft@videolan.org>
parent 14bb42d2
......@@ -26,7 +26,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="marquee"
android:maxLines="1"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:text="@string/title"
android:textColor="?attr/list_title"
android:textSize="20sp" />
......
......@@ -303,6 +303,7 @@ public class DirectoryAdapter extends BaseAdapter {
holder = new DirectoryViewHolder();
holder.layout = v.findViewById(R.id.layout_item);
holder.title = (TextView) v.findViewById(R.id.title);
holder.title.setSelected(true);
holder.text = (TextView) v.findViewById(R.id.text);
holder.icon = (ImageView) v.findViewById(R.id.dvi_icon);
v.setTag(holder);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment