summaryrefslogtreecommitdiffstats
path: root/res/layout/live_wallpaper_entry.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-08-31 16:51:34 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-08-31 17:28:09 -0700
commit702996867bf80dd6652a46303cc06568e6f78369 (patch)
treec124e34ce19a20146288d6fd93104d448f7dd5c8 /res/layout/live_wallpaper_entry.xml
parent03412672d141629593561031e331739c28bc7476 (diff)
downloadandroid_packages_wallpapers_LivePicker-702996867bf80dd6652a46303cc06568e6f78369.tar.gz
android_packages_wallpapers_LivePicker-702996867bf80dd6652a46303cc06568e6f78369.tar.bz2
android_packages_wallpapers_LivePicker-702996867bf80dd6652a46303cc06568e6f78369.zip
Updating the LiveWallpaperPicker UI
> Using the settings theme > Removing GirdLayout usage, using ListView with appropriate padding > Removing trampoline activity when starting wallpaper preview Change-Id: Iea12a8c1c6d6cdc0682add07e1b9565827da71c8
Diffstat (limited to 'res/layout/live_wallpaper_entry.xml')
-rw-r--r--res/layout/live_wallpaper_entry.xml10
1 files changed, 0 insertions, 10 deletions
diff --git a/res/layout/live_wallpaper_entry.xml b/res/layout/live_wallpaper_entry.xml
index df75e84..a133841 100644
--- a/res/layout/live_wallpaper_entry.xml
+++ b/res/layout/live_wallpaper_entry.xml
@@ -17,43 +17,33 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
-
android:paddingStart="6dip"
android:paddingEnd="6dip"
android:paddingTop="6dip"
android:paddingBottom="6dip"
-
android:minHeight="?android:attr/listPreferredItemHeight">
<ImageView
android:id="@+id/thumbnail"
-
android:layout_width="@dimen/live_wallpaper_thumbnail_width"
android:layout_height="@dimen/live_wallpaper_thumbnail_height"
-
android:layout_gravity="center_vertical"
-
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
-
android:layout_marginStart="10dip"
android:layout_marginEnd="8dip"
android:layout_centerVertical="true"
android:layout_toEndOf="@id/thumbnail"
-
android:orientation="vertical">
<TextView
android:id="@+id/title"
-
android:layout_width="match_parent"
android:layout_height="wrap_content"
-
android:textAppearance="?android:attr/textAppearanceMedium"
-
android:singleLine="true"
android:ellipsize="marquee" />