aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-01-08 16:05:43 -0600
committerIván Ávalos <avalos@disroot.org>2023-01-08 16:05:43 -0600
commit25d2997afcfcf33d9127ae8bbfef5f6567f91d3c (patch)
treeeb817ed6501f47b99fe152ed0abefc8214d388fd /app/src
parent9d85909cc46919039a5046f5aed4e91a96c6e321 (diff)
downloaddsub-25d2997afcfcf33d9127ae8bbfef5f6567f91d3c.tar.gz
dsub-25d2997afcfcf33d9127ae8bbfef5f6567f91d3c.tar.bz2
dsub-25d2997afcfcf33d9127ae8bbfef5f6567f91d3c.zip
Improved look of song list item and album cell item
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/album_cell_item.xml1
-rw-r--r--app/src/main/res/layout/song_list_item.xml24
2 files changed, 14 insertions, 11 deletions
diff --git a/app/src/main/res/layout/album_cell_item.xml b/app/src/main/res/layout/album_cell_item.xml
index 4ad32409..c93ac53b 100644
--- a/app/src/main/res/layout/album_cell_item.xml
+++ b/app/src/main/res/layout/album_cell_item.xml
@@ -29,6 +29,7 @@
android:numStars="5"
style="@android:style/Widget.Holo.RatingBar.Small"
android:layout_alignParentBottom="true"
+ android:paddingBottom="3dip"
android:visibility="gone"/>
</RelativeLayout>
diff --git a/app/src/main/res/layout/song_list_item.xml b/app/src/main/res/layout/song_list_item.xml
index 678f9d82..2154baab 100644
--- a/app/src/main/res/layout/song_list_item.xml
+++ b/app/src/main/res/layout/song_list_item.xml
@@ -6,6 +6,19 @@
android:layout_height="?android:attr/listPreferredItemHeight"
android:background="?attr/selectableItemBackground">
+ <TextView
+ android:id="@+id/song_track"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:textColorPrimary"
+ android:paddingStart="12dip"
+ android:paddingEnd="6dip"
+ android:drawablePadding="6dip"
+ android:paddingLeft="12dip"
+ android:paddingRight="6dip" />
+
<LinearLayout android:orientation="vertical"
android:layout_width="0dip"
android:layout_height="wrap_content"
@@ -17,17 +30,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">
- <TextView
- android:id="@+id/song_track"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="left|top"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="?android:textColorPrimary"
- android:paddingLeft="6dip"
- android:paddingRight="6dip"
- android:drawablePadding="6dip"/>
-
<TextView
android:id="@+id/song_title"
android:layout_width="0dip"