summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2009-10-19 15:51:50 -0400
committerDaniel Sandler <dsandler@google.com>2009-10-19 15:56:00 -0400
commit29f17b97f4cb80706e19ab3728a94391947848bd (patch)
tree87e9907e4aa23e082dc46cdb5b2b251868555a91 /res/layout
parenta824765c2311549481cc38e831a74baf3a28a135 (diff)
downloadandroid_packages_wallpapers_LivePicker-29f17b97f4cb80706e19ab3728a94391947848bd.zip
android_packages_wallpapers_LivePicker-29f17b97f4cb80706e19ab3728a94391947848bd.tar.gz
android_packages_wallpapers_LivePicker-29f17b97f4cb80706e19ab3728a94391947848bd.tar.bz2
Incorporate UX feedback into Live Wallpaper picker.
- "Configure..." button is hidden when unavailable - Reorder buttons: Set on left, Configure on right - Change "Configure..." to "Settings..." for consistency with rest of system Also fixes http://b/issue?id=2167421 by setting wallpaper offsets to (0.5, 0) when attaching a new wallpaper.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/live_wallpaper_content.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/res/layout/live_wallpaper_content.xml b/res/layout/live_wallpaper_content.xml
index 4dc6dbc..94864c0 100644
--- a/res/layout/live_wallpaper_content.xml
+++ b/res/layout/live_wallpaper_content.xml
@@ -50,21 +50,22 @@
<LinearLayout
android:orientation="horizontal"
- android:layout_width="fill_parent"
+ android:layout_gravity="center"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content">
-
- <Button android:id="@+id/configure"
- android:layout_width="0px"
+
+ <Button android:id="@+id/set"
+ android:layout_width="160dip"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:text="@string/configure_wallpaper"
+ android:text="@string/wallpaper_instructions"
android:layout_gravity="center" />
- <Button android:id="@+id/set"
- android:layout_width="0px"
+ <Button android:id="@+id/configure"
+ android:layout_width="160dip"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:text="@string/wallpaper_instructions"
+ android:text="@string/configure_wallpaper"
android:layout_gravity="center" />
</LinearLayout>