summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2009-11-05 15:06:55 -0500
committerDaniel Sandler <dsandler@google.com>2009-11-05 15:06:55 -0500
commit7e2a10d904ce52bde6e887b9c257709729f39613 (patch)
tree1e8551b61413f97332d417580be6fe12456b785d /res
parentdf807b99f41a1fe3237c13e52fd36482df4eb92b (diff)
downloadandroid_packages_wallpapers_LivePicker-7e2a10d904ce52bde6e887b9c257709729f39613.tar.gz
android_packages_wallpapers_LivePicker-7e2a10d904ce52bde6e887b9c257709729f39613.tar.bz2
android_packages_wallpapers_LivePicker-7e2a10d904ce52bde6e887b9c257709729f39613.zip
Revised live wallpaper picker metadata display.
Replace the small BubbleView at the bottom with a block of music-video-style text, showing: Title Author Description Other minor changes to match final UI specification. Part of the fix for http://b/2235307 .
Diffstat (limited to 'res')
-rw-r--r--res/layout/live_wallpaper_content.xml41
-rw-r--r--res/values/styles.xml20
2 files changed, 37 insertions, 24 deletions
diff --git a/res/layout/live_wallpaper_content.xml b/res/layout/live_wallpaper_content.xml
index d9b3add..3809a35 100644
--- a/res/layout/live_wallpaper_content.xml
+++ b/res/layout/live_wallpaper_content.xml
@@ -20,6 +20,36 @@
android:layout_height="fill_parent"
>
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dip"
+ android:layout_marginLeft="6dip"
+ >
+ <TextView android:id="@+id/title"
+ style="@style/WallpaperTitle"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ <TextView android:id="@+id/author"
+ style="@style/WallpaperTitle"
+ android:layout_below="@id/title"
+ android:textSize="14dip"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dip"
+ />
+ <TextView android:id="@+id/synopsis"
+ style="@style/WallpaperTitle"
+ android:layout_below="@id/author"
+ android:textSize="14dip"
+ android:ems="15"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dip"
+ />
+ </RelativeLayout>
+
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="0px"
@@ -43,17 +73,6 @@
/>
</FrameLayout>
- <com.android.wallpaper.livepicker.BubbleTextView
- style="@style/WorkspaceIcon"
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:visibility="gone"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:layout_marginBottom="4dip"
- />
-
<Gallery android:id="@+id/gallery"
android:gravity="fill"
android:layout_width="fill_parent"
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 6e67ae0..82b1707 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,19 +18,13 @@
-->
<resources>
- <style name="WorkspaceIcon">
- <item name="android:textSize">13dip</item>
- <item name="android:singleLine">true</item>
- <item name="android:ellipsize">marquee</item>
+ <style name="WallpaperTitle">
+ <item name="android:textSize">20dip</item>
<item name="android:shadowColor">#FF000000</item>
- <item name="android:shadowRadius">2.0</item>
- <item name="android:textColor">#FFF</item>
- <item name="android:gravity">center_horizontal</item>
- <item name="android:layout_width">fill_parent</item>
- <item name="android:layout_height">fill_parent</item>
- <item name="android:paddingTop">4dip</item>
- <item name="android:paddingBottom">4dip</item>
- <item name="android:paddingLeft">8dip</item>
- <item name="android:paddingRight">8dip</item>
+ <item name="android:shadowRadius">2.5</item>
+ <item name="android:shadowDx">0</item>
+ <item name="android:shadowDy">0</item>
+ <item name="android:textColor">#FFFFFFFF</item>
+ <item name="android:gravity">left</item>
</style>
</resources>