aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-large-land/download.xml
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-12-13 17:47:31 -0600
committerIván Ávalos <avalos@disroot.org>2022-12-13 17:47:31 -0600
commitc85b8ce33e6b6cdff351a93cb4b35dc703a77eab (patch)
tree488873f3c941cc81b0eafe28f01486aa9af3959d /app/src/main/res/layout-large-land/download.xml
parent4caf2dca669717a8e5d60abd60ae1f76a83b1850 (diff)
downloaddsub-c85b8ce33e6b6cdff351a93cb4b35dc703a77eab.tar.gz
dsub-c85b8ce33e6b6cdff351a93cb4b35dc703a77eab.tar.bz2
dsub-c85b8ce33e6b6cdff351a93cb4b35dc703a77eab.zip
Improved Now Playing UI (land & large-land)
Diffstat (limited to 'app/src/main/res/layout-large-land/download.xml')
-rw-r--r--app/src/main/res/layout-large-land/download.xml26
1 files changed, 18 insertions, 8 deletions
diff --git a/app/src/main/res/layout-large-land/download.xml b/app/src/main/res/layout-large-land/download.xml
index cf5ef571..c773e1fe 100644
--- a/app/src/main/res/layout-large-land/download.xml
+++ b/app/src/main/res/layout-large-land/download.xml
@@ -5,13 +5,23 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <github.daneren2005.dsub.view.RecyclingImageView
- android:id="@+id/download_album_art_image"
- android:src="@drawable/unknown_album_large"
+ <github.daneren2005.dsub.view.CardView
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
android:layout_weight="1"
- android:scaleType="fitCenter"/>
+ android:layout_margin="14dp">
+
+ <github.daneren2005.dsub.view.RecyclingImageView
+ android:id="@+id/download_album_art_image"
+ android:src="@drawable/unknown_album_large"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:adjustViewBounds="true"
+ android:scaleType="fitCenter"/>
+
+ </github.daneren2005.dsub.view.CardView>
<RelativeLayout
android:id="@+id/download_control_layout"
@@ -98,13 +108,13 @@
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:textColorSecondary"
- android:layout_above="@+id/download_media_buttons_wrapper"/>
+ android:layout_above="@+id/download_slider_wrapper"/>
<LinearLayout
android:id="@+id/download_media_buttons_wrapper"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_above="@+id/download_slider_wrapper">
+ android:layout_alignParentBottom="true">
<include layout="@layout/download_media_buttons"/>
</LinearLayout>
@@ -113,7 +123,7 @@
android:id="@+id/download_slider_wrapper"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_alignParentBottom="true">
+ android:layout_above="@id/download_media_buttons_wrapper">
<include layout="@layout/download_slider"/>
</LinearLayout>