summaryrefslogtreecommitdiffstats
path: root/res/layout-xlarge/live_wallpaper_entry.xml
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2010-12-08 15:19:47 -0800
committerAdam Lesinski <adamlesinski@google.com>2010-12-08 15:24:01 -0800
commit076572d5d1c23bd45e689693fde4adf12a2e04de (patch)
treebe6510e459f462910987c98fc6cd2185679b3b68 /res/layout-xlarge/live_wallpaper_entry.xml
parentd6bb51406fa63d93bf634b64e9f115e49a9c9c29 (diff)
downloadandroid_packages_wallpapers_LivePicker-076572d5d1c23bd45e689693fde4adf12a2e04de.tar.gz
android_packages_wallpapers_LivePicker-076572d5d1c23bd45e689693fde4adf12a2e04de.tar.bz2
android_packages_wallpapers_LivePicker-076572d5d1c23bd45e689693fde4adf12a2e04de.zip
Fixed issue where text was being cut off
-New framework change in GridView allowed some layout changes to be made to better support automatic sizing Change-Id: I8bfffd59c71e46994c9735d00b580a88c08ab04d
Diffstat (limited to 'res/layout-xlarge/live_wallpaper_entry.xml')
-rw-r--r--res/layout-xlarge/live_wallpaper_entry.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/res/layout-xlarge/live_wallpaper_entry.xml b/res/layout-xlarge/live_wallpaper_entry.xml
index b2515a7..eacb487 100644
--- a/res/layout-xlarge/live_wallpaper_entry.xml
+++ b/res/layout-xlarge/live_wallpaper_entry.xml
@@ -21,15 +21,16 @@
android:padding="6dip">
<ImageView
android:id="@+id/thumbnail"
- android:layout_width="@dimen/live_wallpaper_thumbnail_width"
- android:layout_height="@dimen/live_wallpaper_thumbnail_height"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
android:layout_gravity="center"
+ android:layout_weight="1"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/title"
- android:layout_width="@dimen/live_wallpaper_thumbnail_width"
- android:layout_height="match_parent"
- android:layout_weight="1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
android:layout_gravity="center"
android:gravity="bottom"
android:textAppearance="?android:attr/textAppearanceMedium"