summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-10-11 17:53:58 -0700
committerWinson Chung <winsonc@google.com>2011-10-11 18:20:33 -0700
commit5fc72b31863639e70b3d944a3b650f42e46932a6 (patch)
tree75e8e206dc0673dc4c8253075a811d5f45ee9f42 /res/layout
parent3a02e82cfff354ba5e4444114b1ae2a1d5ac2862 (diff)
downloadandroid_packages_apps_Trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.tar.gz
android_packages_apps_Trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.tar.bz2
android_packages_apps_Trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.zip
Fixing some issues with AppsCustomize
- Tweaking the widget page to make it a little tighter - Altering the way we generate widget previews to make them more consistent - Making the Apps page two line titles Change-Id: I7bce420466c1d41fb87b423f259472482803a406
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/apps_customize_widget.xml22
1 files changed, 7 insertions, 15 deletions
diff --git a/res/layout/apps_customize_widget.xml b/res/layout/apps_customize_widget.xml
index 57a996288..7cc4177de 100644
--- a/res/layout/apps_customize_widget.xml
+++ b/res/layout/apps_customize_widget.xml
@@ -45,12 +45,8 @@
android:ellipsize="marquee"
android:fadingEdge="horizontal"
- android:textColor="#FFBBBBBB"
- android:textSize="14sp"
- android:shadowColor="#FF000000"
- android:shadowDx="0.0"
- android:shadowDy="1.0"
- android:shadowRadius="1.0" />
+ android:textColor="#FFFFFFFF"
+ android:textSize="13sp" />
<!-- The original dimensions of the widget (can't be the same text as above due to different
style. -->
@@ -58,17 +54,13 @@
android:id="@+id/widget_dims"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="bottom"
+ android:layout_gravity="center"
android:layout_marginLeft="5dp"
android:layout_weight="0"
android:gravity="left"
- android:textColor="#FF666666"
- android:textSize="12sp"
- android:shadowColor="#99000000"
- android:shadowDx="0.0"
- android:shadowDy="1.0"
- android:shadowRadius="1.0" />
+ android:textColor="#FF555555"
+ android:textSize="12sp" />
</LinearLayout>
<!-- The icon of the widget. -->
@@ -77,6 +69,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:adjustViewBounds="true"
- android:scaleType="fitStart" />
+ android:padding="8dp"
+ android:scaleType="matrix" />
</com.android.launcher2.PagedViewWidget>