summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-15 18:50:10 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-15 18:59:55 -0700
commit83a5d38cb6fd7f9f890afb5281937991c71ebd1c (patch)
tree2e16707cbda0993d4ba5a097e2cc850d95ee94d0 /res
parent78aebd860157a972b4a5c7b67435676f4361021f (diff)
downloadandroid_packages_apps_Trebuchet-83a5d38cb6fd7f9f890afb5281937991c71ebd1c.tar.gz
android_packages_apps_Trebuchet-83a5d38cb6fd7f9f890afb5281937991c71ebd1c.tar.bz2
android_packages_apps_Trebuchet-83a5d38cb6fd7f9f890afb5281937991c71ebd1c.zip
Add configuration button to live wallpaper picker.
This collects the info needed to show and launch live wallpaper configuration activities. Also filters out wallpapers that don't contain the wallpaper meta-data. Change-Id: I8b3fb17cc436396bd714e43131997c135b5e1b7c
Diffstat (limited to 'res')
-rw-r--r--res/layout/live_wallpaper_content.xml25
1 files changed, 20 insertions, 5 deletions
diff --git a/res/layout/live_wallpaper_content.xml b/res/layout/live_wallpaper_content.xml
index 71c315711..cbb79b41c 100644
--- a/res/layout/live_wallpaper_content.xml
+++ b/res/layout/live_wallpaper_content.xml
@@ -47,10 +47,25 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
- <Button android:id="@+id/set"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/set_live_wallpaper"
- android:layout_gravity="center_horizontal" />
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <Button android:id="@+id/configure"
+ android:layout_width="0px"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/configure_wallpaper"
+ android:layout_gravity="center" />
+
+ <Button android:id="@+id/set"
+ android:layout_width="0px"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/wallpaper_instructions"
+ android:layout_gravity="center" />
+
+ </LinearLayout>
</LinearLayout>