diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-01-13 17:35:53 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-01-13 17:35:53 -0800 |
commit | bc2a7d3674903b8fba986135f7ca3327bac99d6b (patch) | |
tree | 798aa924324dfc9c8224c5c2b604ad9f159bef4c /app/src/main/res | |
parent | 66adcf8c874feb54eea5df2cbd527827e79086c5 (diff) | |
download | dsub-bc2a7d3674903b8fba986135f7ca3327bac99d6b.tar.gz dsub-bc2a7d3674903b8fba986135f7ca3327bac99d6b.tar.bz2 dsub-bc2a7d3674903b8fba986135f7ca3327bac99d6b.zip |
Fix song title getting cut off if no Track #
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/song_list_item.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/src/main/res/layout/song_list_item.xml b/app/src/main/res/layout/song_list_item.xml index a81485de..6a474787 100644 --- a/app/src/main/res/layout/song_list_item.xml +++ b/app/src/main/res/layout/song_list_item.xml @@ -21,7 +21,7 @@ android:id="@+id/song_track" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="left|center_vertical" + android:layout_gravity="left|top" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="?android:textColorPrimary" android:paddingLeft="6dip" @@ -31,9 +31,9 @@ <TextView android:id="@+id/song_title" android:layout_width="0dip" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:layout_weight="1" - android:layout_gravity="left|center_vertical" + android:layout_gravity="left|top" android:textAppearance="?android:attr/textAppearanceMedium" android:singleLine="true" android:ellipsize="marquee" @@ -46,7 +46,7 @@ android:id="@+id/song_bookmark" android:layout_width="24dp" android:layout_height="24dp" - android:layout_gravity="right|center_vertical" + android:layout_gravity="right|top" android:background="@null" android:focusable="false" android:scaleType="fitCenter" @@ -57,7 +57,7 @@ android:layout_width="@dimen/Star.Small" android:layout_height="@dimen/Star.Small" android:scaleType="fitCenter" - android:layout_gravity="right|center_vertical" + android:layout_gravity="right|top" android:background="@null" android:focusable="false" android:visibility="gone"/> @@ -66,7 +66,7 @@ android:id="@+id/song_status" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="right|center_vertical" + android:layout_gravity="right|top" android:drawablePadding="1dip" android:paddingRight="2dip"/> @@ -74,7 +74,7 @@ android:id="@+id/song_status_icon" android:layout_width="24dip" android:layout_height="24dip" - android:layout_gravity="center_vertical" + android:layout_gravity="top" android:src="?attr/downloading" android:visibility="gone"/> </LinearLayout> |