summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-09-12 19:26:12 -0700
committerAdam Powell <adamp@google.com>2011-09-12 19:26:12 -0700
commitcc9b4aaaac1bbb062337107659858c83246901c8 (patch)
tree8c6d750fec8d069de546cbf097e254118a707989
parent797d59be35b9ef33f7850c1e6f8133782cc00504 (diff)
downloadandroid_packages_wallpapers_LivePicker-cc9b4aaaac1bbb062337107659858c83246901c8.tar.gz
android_packages_wallpapers_LivePicker-cc9b4aaaac1bbb062337107659858c83246901c8.tar.bz2
android_packages_wallpapers_LivePicker-cc9b4aaaac1bbb062337107659858c83246901c8.zip
Fix bug 5295767 - Live wallpaper picker needs layout updates for ICS
Obey new button ordering, use button bar styling Change-Id: I067cb231f1f45d7b3bc864f667b894a7649d4d1f
-rw-r--r--res/layout/live_wallpaper_preview.xml26
1 files changed, 15 insertions, 11 deletions
diff --git a/res/layout/live_wallpaper_preview.xml b/res/layout/live_wallpaper_preview.xml
index 38cc2ac..1fa7ec8 100644
--- a/res/layout/live_wallpaper_preview.xml
+++ b/res/layout/live_wallpaper_preview.xml
@@ -15,30 +15,34 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"
-
- android:paddingBottom="4dip">
+ android:background="#88000000"
+ style="?android:attr/buttonBarStyle">
<Button
- android:layout_width="@dimen/live_wallpaper_preview_button_width"
+ android:id="@+id/configure"
+
+ android:layout_width="0dip"
android:layout_height="wrap_content"
+ android:layout_weight="1"
android:layout_gravity="center_vertical"
- android:text="@string/wallpaper_instructions"
+ android:text="@string/configure_wallpaper"
- android:onClick="setLiveWallpaper" />
+ android:onClick="configureLiveWallpaper"
+ style="?android:attr/buttonBarButtonStyle" />
<Button
- android:id="@+id/configure"
-
- android:layout_width="@dimen/live_wallpaper_preview_button_width"
+ android:layout_width="0dip"
android:layout_height="wrap_content"
+ android:layout_weight="1"
android:layout_gravity="center_vertical"
- android:text="@string/configure_wallpaper"
+ android:text="@string/wallpaper_instructions"
- android:onClick="configureLiveWallpaper" />
+ android:onClick="setLiveWallpaper"
+ style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>