summaryrefslogtreecommitdiffstats
path: root/res/layout/live_wallpaper_entry.xml
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-11-18 12:11:12 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-11-18 12:11:12 -0800
commit0dffdc7ea90919e1c449f5832e952a5ab140ddf8 (patch)
tree84a0afe371f2db0250c7c9a37d2a4448434e5ffd /res/layout/live_wallpaper_entry.xml
parentbc32f210e2801860d47c0cf5236b52ae743bc1f8 (diff)
parentead6e21b361b09c1dfbb762503bd52a6dc6e0239 (diff)
downloadandroid_packages_wallpapers_LivePicker-0dffdc7ea90919e1c449f5832e952a5ab140ddf8.tar.gz
android_packages_wallpapers_LivePicker-0dffdc7ea90919e1c449f5832e952a5ab140ddf8.tar.bz2
android_packages_wallpapers_LivePicker-0dffdc7ea90919e1c449f5832e952a5ab140ddf8.zip
Merge change Iead6e21b into eclair
* changes: Clean up live wallpaper picker list.
Diffstat (limited to 'res/layout/live_wallpaper_entry.xml')
-rw-r--r--res/layout/live_wallpaper_entry.xml19
1 files changed, 12 insertions, 7 deletions
diff --git a/res/layout/live_wallpaper_entry.xml b/res/layout/live_wallpaper_entry.xml
index ce48242..529371e 100644
--- a/res/layout/live_wallpaper_entry.xml
+++ b/res/layout/live_wallpaper_entry.xml
@@ -14,12 +14,15 @@
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:paddingLeft="4dip"
- android:paddingRight="4dip"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+
android:minHeight="?android:attr/listPreferredItemHeight">
<ImageView
@@ -30,14 +33,16 @@
android:layout_gravity="center_vertical"
- android:scaleType="fitCenter" />
+ android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dip"
- android:layout_gravity="center_vertical"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="8dip"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@id/thumbnail"
android:orientation="vertical">
@@ -64,4 +69,4 @@
</LinearLayout>
-</LinearLayout>
+</RelativeLayout>