Tweaking widget grid to show more items
Change-Id: Ied035f6c01f062ac1b4b16ee0a5b9029c6da72a0
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"