diff options
-rw-r--r-- | res/layout-xlarge/live_wallpaper_entry.xml | 11 | ||||
-rw-r--r-- | res/layout-xlarge/live_wallpaper_list.xml | 6 | ||||
-rw-r--r-- | res/values-xlarge/dimensions.xml | 3 |
3 files changed, 10 insertions, 10 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" diff --git a/res/layout-xlarge/live_wallpaper_list.xml b/res/layout-xlarge/live_wallpaper_list.xml index 50d99a7..312e672 100644 --- a/res/layout-xlarge/live_wallpaper_list.xml +++ b/res/layout-xlarge/live_wallpaper_list.xml @@ -20,12 +20,12 @@ android:gravity="center"> <GridView android:id="@android:id/list" - android:layout_width="800dp" + android:layout_width="match_parent" android:layout_height="400dp" android:layout_gravity="center" android:numColumns="3" - android:stretchMode="columnWidth" - android:horizontalSpacing="15dp" + android:stretchMode="spacingWidth" + android:columnWidth="@dimen/live_wallpaper_grid_item_width" android:verticalSpacing="15dp" android:drawSelectorOnTop="false" /> <TextView diff --git a/res/values-xlarge/dimensions.xml b/res/values-xlarge/dimensions.xml index f8c1966..ebc69fc 100644 --- a/res/values-xlarge/dimensions.xml +++ b/res/values-xlarge/dimensions.xml @@ -18,8 +18,7 @@ --> <resources> - <dimen name="live_wallpaper_thumbnail_width">200dip</dimen> - <dimen name="live_wallpaper_thumbnail_height">145dip</dimen> + <dimen name="live_wallpaper_grid_item_width">230dip</dimen> <dimen name="live_wallpaper_grid_item_height">185dip</dimen> <dimen name="live_wallpaper_preview_button_width">200dip</dimen> </resources> |