From 0691ed33ac945b6490a41950e1ab5de44a6f300d Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Sun, 4 Jan 2015 20:48:27 +0100 Subject: [PATCH] Fix 4-white-widget The XML layout was messed up and caused android 5.0 to render the widget in funny ways. --- res/layout-land/four_long_widget.xml | 89 ---------------------------- res/layout/four_white_widget.xml | 6 +- 2 files changed, 2 insertions(+), 93 deletions(-) delete mode 100644 res/layout-land/four_long_widget.xml diff --git a/res/layout-land/four_long_widget.xml b/res/layout-land/four_long_widget.xml deleted file mode 100644 index c3a9ed73..00000000 --- a/res/layout-land/four_long_widget.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - diff --git a/res/layout/four_white_widget.xml b/res/layout/four_white_widget.xml index 9c1dfb6a..8f180cd9 100644 --- a/res/layout/four_white_widget.xml +++ b/res/layout/four_white_widget.xml @@ -109,10 +109,9 @@ THE SOFTWARE. android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" - android:adjustViewBounds="true" android:background="@drawable/selectable_item_bg" android:contentDescription="@string/play_pause" - android:scaleType="centerInside" + android:scaleType="fitCenter" android:src="@drawable/widget_play" android:padding="5dip" />