Merge change 3994 into donut

* changes:
  Shrink power widget to 3 cells wide.
This commit is contained in:
Android (Google) Code Review
2009-06-11 20:23:33 -07:00
5 changed files with 13 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -19,8 +19,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingLeft="12dip"
android:paddingRight="12dip"
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:paddingTop="7dip"
android:paddingBottom="13dip"
android:background="@drawable/widget_bg" >
@@ -29,7 +29,8 @@
android:id="@+id/btn_wifi"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:background="@drawable/widget_btn"
android:layout_gravity="center_horizontal"
/>
@@ -38,7 +39,8 @@
android:id="@+id/btn_brightness"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:background="@drawable/widget_btn"
android:layout_gravity="center_horizontal"
@@ -48,7 +50,8 @@
android:id="@+id/btn_sync"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:background="@drawable/widget_btn"
android:layout_gravity="center_horizontal"
@@ -58,7 +61,8 @@
android:id="@+id/btn_gps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:background="@drawable/widget_btn"
android:layout_gravity="center_horizontal"
@@ -68,7 +72,8 @@
android:id="@+id/btn_bluetooth"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
android:layout_marginLeft="3dip"
android:layout_marginRight="3dip"
android:background="@drawable/widget_btn"
android:layout_gravity="center_horizontal"

View File

@@ -15,7 +15,7 @@
-->
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="294dip"
android:minWidth="219dip"
android:minHeight="72dip"
android:initialLayout="@layout/widget"
>