Eleven: vertically recentre widgets
The recent theme change made parts of the widgets offset towards
the top, which looks odd and unbalanced. This brings back the more
normal looking centring.
Change-Id: Id83f3523e8b766aaf8abde0a9410c768a7f325c5
diff --git a/res/layout/app_widget_large.xml b/res/layout/app_widget_large.xml
index e4be97e..c4ea525 100644
--- a/res/layout/app_widget_large.xml
+++ b/res/layout/app_widget_large.xml
@@ -20,7 +20,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/app_widget_large_min_height"
android:columnCount="2"
- android:rowCount="4"
+ android:rowCount="2"
android:background="@color/black"
tools:ignore="ContentDescription" >
@@ -28,7 +28,7 @@
android:id="@+id/app_widget_large_image"
android:layout_width="@dimen/notification_expanded_height"
android:layout_height="@dimen/notification_expanded_height"
- android:layout_rowSpan="4"
+ android:layout_rowSpan="2"
android:layout_marginBottom="@dimen/app_widget_bottom_margin"
android:scaleType="fitXY" />
diff --git a/res/layout/app_widget_large_alternate.xml b/res/layout/app_widget_large_alternate.xml
index d47ed79..da1aa59 100644
--- a/res/layout/app_widget_large_alternate.xml
+++ b/res/layout/app_widget_large_alternate.xml
@@ -21,7 +21,7 @@
android:layout_height="@dimen/app_widget_large_min_height"
android:background="@color/black"
android:columnCount="2"
- android:rowCount="4"
+ android:rowCount="2"
tools:ignore="ContentDescription" >
<ImageView
diff --git a/res/layout/app_widget_small.xml b/res/layout/app_widget_small.xml
index 1ceb7ea..f6810a7 100644
--- a/res/layout/app_widget_small.xml
+++ b/res/layout/app_widget_small.xml
@@ -20,7 +20,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnCount="2"
- android:rowCount="4"
+ android:rowCount="2"
android:background="@color/black"
android:gravity="top"
android:padding="@dimen/app_widget_padding"