diff options
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r-- | res/layout-xlarge/wallpaper_chooser.xml | 13 | ||||
-rw-r--r-- | res/layout-xlarge/wallpaper_chooser_base.xml | 23 | ||||
-rw-r--r-- | res/layout-xlarge/wallpaper_item.xml | 6 |
3 files changed, 34 insertions, 8 deletions
diff --git a/res/layout-xlarge/wallpaper_chooser.xml b/res/layout-xlarge/wallpaper_chooser.xml index 9649e88f9..76a896d67 100644 --- a/res/layout-xlarge/wallpaper_chooser.xml +++ b/res/layout-xlarge/wallpaper_chooser.xml @@ -20,8 +20,11 @@ <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gallery" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:numColumns="4" - android:columnWidth="@dimen/wallpaper_small_width" - android:stretchMode="columnWidth" />
\ No newline at end of file + android:layout_width="match_parent" + android:layout_height="400dp" + android:layout_gravity="center" + android:numColumns="3" + android:stretchMode="spacingWidth" + android:columnWidth="@dimen/wallpaper_chooser_grid_width" + android:verticalSpacing="15dp" + android:drawSelectorOnTop="false" /> diff --git a/res/layout-xlarge/wallpaper_chooser_base.xml b/res/layout-xlarge/wallpaper_chooser_base.xml new file mode 100644 index 000000000..16888ecf0 --- /dev/null +++ b/res/layout-xlarge/wallpaper_chooser_base.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright 2010, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" /> diff --git a/res/layout-xlarge/wallpaper_item.xml b/res/layout-xlarge/wallpaper_item.xml index 4246b9ab5..e17c046da 100644 --- a/res/layout-xlarge/wallpaper_item.xml +++ b/res/layout-xlarge/wallpaper_item.xml @@ -15,9 +15,9 @@ --> <ImageView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="@dimen/wallpaper_small_width" - android:layout_height="wrap_content" - android:padding="5dp" + android:layout_width="match_parent" + android:layout_height="@dimen/wallpaper_chooser_grid_height" + android:padding="6dp" android:scaleType="fitXY" android:adjustViewBounds="false" android:focusable="false" /> |