Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
5bd4a336
Commit
5bd4a336
authored
Jul 07, 2014
by
Alexandre Perraud
Committed by
Adrien Maglo
Jul 08, 2014
Browse files
UI Directory : Fix the scrolling text issue
Signed-off-by:
Adrien Maglo
<
magsoft@videolan.org
>
parent
14bb42d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
vlc-android/res/layout/directory_view_item.xml
View file @
5bd4a336
...
...
@@ -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"
/>
...
...
vlc-android/src/org/videolan/vlc/gui/DirectoryAdapter.java
View file @
5bd4a336
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment