summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-02-29 14:34:17 +0100
committerDanny Baumann <dannybaumann@web.de>2016-02-29 14:34:40 +0100
commitdc2cdeb4269accdadd013d27533c3e63ed4bfc64 (patch)
tree1db509e5afc9ed7316071c41506a38d7e9a78303
parent640067b0c7089036f3063cd1435d10fc44ecc415 (diff)
downloadandroid_packages_apps_Eleven-dc2cdeb4269accdadd013d27533c3e63ed4bfc64.tar.gz
android_packages_apps_Eleven-dc2cdeb4269accdadd013d27533c3e63ed4bfc64.tar.bz2
android_packages_apps_Eleven-dc2cdeb4269accdadd013d27533c3e63ed4bfc64.zip
Fix some scaling issues with non-square album art.
Change-Id: I541b4ed4c6c0edd09b6419d76566ea0d1fce81da
-rw-r--r--res/layout/album_art_fragment.xml6
-rw-r--r--res/layout/bottom_action_bar.xml2
2 files changed, 3 insertions, 5 deletions
diff --git a/res/layout/album_art_fragment.xml b/res/layout/album_art_fragment.xml
index 59a5ad7..423c62c 100644
--- a/res/layout/album_art_fragment.xml
+++ b/res/layout/album_art_fragment.xml
@@ -22,7 +22,5 @@
android:id="@+id/audio_player_album_art"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_centerHorizontal="true"
- android:scaleType="fitXY"
- android:background="@drawable/default_artwork"/>
-</FrameLayout> \ No newline at end of file
+ android:src="@drawable/default_artwork"/>
+</FrameLayout>
diff --git a/res/layout/bottom_action_bar.xml b/res/layout/bottom_action_bar.xml
index fd0d680..8ce90fd 100644
--- a/res/layout/bottom_action_bar.xml
+++ b/res/layout/bottom_action_bar.xml
@@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center"
- android:background="@drawable/default_artwork" />
+ android:src="@drawable/default_artwork" />
<RelativeLayout
android:id="@+id/bottom_action_bar_info_container"