Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
cf9c934e
Commit
cf9c934e
authored
Jan 31, 2014
by
Adrien Maglo
Browse files
Directory view: modify the item layout
parent
f790fa3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/res/layout/directory_view_item.xml
View file @
cf9c934e
...
...
@@ -7,27 +7,27 @@
<ImageView
android:id=
"@+id/dvi_icon"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical|left"
android:layout_marginRight=
"5dip"
android:layout_width=
"@dimen/audio_browser_item_size"
android:layout_height=
"@dimen/audio_browser_item_size"
android:layout_gravity=
"center"
android:contentDescription=
"@string/cover_art"
android:src=
"@drawable/icon"
/>
<LinearLayout
android:layout_width=
"
0dip
"
android:layout_height=
"
wrap_cont
ent"
android:layout_
we
ight
=
"1
"
android:layout_width=
"
match_parent
"
android:layout_height=
"
match_par
ent"
android:layout_
toR
ight
Of=
"@+id/cover
"
android:gravity=
"center_vertical"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:paddingLeft=
"10dp"
>
<TextView
android:id=
"@+id/title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_
marginLeft=
"5dip
"
android:
layout_marginRight=
"5dip
"
android:
layout_marginTop=
"5dip
"
android:layout_
gravity=
"center_vertical
"
android:
ellipsize=
"marquee
"
android:
maxLines=
"1
"
android:text=
"@string/title"
android:textColor=
"@color/list_title"
android:textSize=
"20sp"
/>
...
...
@@ -36,11 +36,11 @@
android:id=
"@+id/text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"5dip"
android:layout_marginLeft=
"5dip"
android:layout_marginRight=
"5dip"
android:text=
"@string/info"
android:ellipsize=
"marquee"
android:maxLines=
"1"
android:text=
"@string/artist"
android:textColor=
"@color/list_subtitle"
android:textSize=
"14sp"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
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