diff options
author | Amith Yamasani <yamasani@google.com> | 2011-06-21 13:03:34 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-06-22 11:29:38 -0700 |
commit | 6be594922fac988f3b350718df8e9df3ef25b97e (patch) | |
tree | 7352b5679222d26d849eb15bb5694defc81baa79 /res/layout/wallpaper_chooser.xml | |
parent | 2a451abcc0d81d249840ca755d54ae829002d27e (diff) | |
download | android_packages_apps_Trebuchet-6be594922fac988f3b350718df8e9df3ef25b97e.tar.gz android_packages_apps_Trebuchet-6be594922fac988f3b350718df8e9df3ef25b97e.tar.bz2 android_packages_apps_Trebuchet-6be594922fac988f3b350718df8e9df3ef25b97e.zip |
A fullscreen wallpaper chooser for all screen sizes.
The wallpaper preview covers the whole screen,
with background protection for the gallery items and button.
Change-Id: Ice31c4fea6503d1a59b59d6fbffb5e4a28eb2143
Diffstat (limited to 'res/layout/wallpaper_chooser.xml')
-rw-r--r-- | res/layout/wallpaper_chooser.xml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/res/layout/wallpaper_chooser.xml b/res/layout/wallpaper_chooser.xml index 92a6596ee..c0a5fdf9e 100644 --- a/res/layout/wallpaper_chooser.xml +++ b/res/layout/wallpaper_chooser.xml @@ -18,26 +18,26 @@ */ --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> - <ImageView android:id="@+id/wallpaper" - android:layout_width="match_parent" - android:layout_height="0dip" - android:layout_weight="1.0" - android:scaleType="fitCenter" /> + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:background="@drawable/wallpaper_gallery_background"> - <Gallery android:id="@+id/gallery" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - - <Button android:id="@+id/set" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/wallpaper_instructions" - android:layout_gravity="center_horizontal" /> - -</LinearLayout> + <Gallery android:id="@+id/gallery" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <Button android:id="@+id/set" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/wallpaper_instructions" + android:layout_gravity="center_horizontal" /> + </LinearLayout> +</RelativeLayout> |