diff options
author | Winson Chung <winsonc@google.com> | 2011-08-11 15:12:11 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-11 15:57:35 -0700 |
commit | 35d4a257cff6ff69232f10c8dc405df8044eab1f (patch) | |
tree | 6182d7e65555e444e3d323b86c1b524d33ddc059 /res/layout | |
parent | 981b8a3708f7c8de5ab8f896c4ea8110379c012a (diff) | |
download | packages_apps_trebuchet-35d4a257cff6ff69232f10c8dc405df8044eab1f.zip packages_apps_trebuchet-35d4a257cff6ff69232f10c8dc405df8044eab1f.tar.gz packages_apps_trebuchet-35d4a257cff6ff69232f10c8dc405df8044eab1f.tar.bz2 |
Tweaking widget grid to show more items
Change-Id: Ied035f6c01f062ac1b4b16ee0a5b9029c6da72a0
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/apps_customize_widget.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/res/layout/apps_customize_widget.xml b/res/layout/apps_customize_widget.xml index 31c3fbe..57a9962 100644 --- a/res/layout/apps_customize_widget.xml +++ b/res/layout/apps_customize_widget.xml @@ -29,18 +29,18 @@ android:focusable="true"> <LinearLayout - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="4dp" - android:orientation="vertical" + android:orientation="horizontal" android:background="@drawable/widget_info_bg"> <!-- The name of the widget. --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widget_name" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="0" - android:gravity="left|bottom" + android:layout_weight="1" + android:gravity="left" android:singleLine="true" android:ellipsize="marquee" android:fadingEdge="horizontal" @@ -58,10 +58,12 @@ android:id="@+id/widget_dims" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="bottom" + android:layout_marginLeft="5dp" android:layout_weight="0" - android:gravity="left|bottom" + android:gravity="left" - android:textColor="#FF999999" + android:textColor="#FF666666" android:textSize="12sp" android:shadowColor="#99000000" android:shadowDx="0.0" |