diff options
author | RoboErik <epastern@google.com> | 2011-07-22 10:30:19 -0700 |
---|---|---|
committer | RoboErik <epastern@google.com> | 2011-07-22 11:29:33 -0700 |
commit | 6416be8a6b2bdb56e62a802eac7c0a2b97572ddf (patch) | |
tree | 256335fb1b9066d5b026b4ce2c1492dfc1bcad84 /res/layout/appwidget.xml | |
parent | 3ce3b9bc085c2efb5d15c912bb852deec986abdb (diff) | |
download | android_packages_apps_Calendar-6416be8a6b2bdb56e62a802eac7c0a2b97572ddf.tar.gz android_packages_apps_Calendar-6416be8a6b2bdb56e62a802eac7c0a2b97572ddf.tar.bz2 android_packages_apps_Calendar-6416be8a6b2bdb56e62a802eac7c0a2b97572ddf.zip |
b/5065564 Tweaks to widget
-removes new event icon
-makes 2x3 default drop size
-sets 2x2 min size which is being ignored by fw (b/5067078)
-adds padding to left of title
-removes padding around overall widget
-fixed coloring on day dividers
Change-Id: I45c252fd209a38ee96fb6df8e15a59e4b4d5a5fe
Diffstat (limited to 'res/layout/appwidget.xml')
-rw-r--r-- | res/layout/appwidget.xml | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/res/layout/appwidget.xml b/res/layout/appwidget.xml index 349a5a37..c70a5b10 100644 --- a/res/layout/appwidget.xml +++ b/res/layout/appwidget.xml @@ -18,12 +18,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginTop="3dip" - android:layout_marginBottom="14dip" - android:layout_marginLeft="8dip" - android:layout_marginRight="8dip" - android:paddingLeft="6dip" - android:paddingRight="6dip" android:orientation="vertical" android:background="@drawable/gradient_bg_cal_widget_holo" android:focusable="true" @@ -34,9 +28,9 @@ android:id="@+id/header" android:layout_width="match_parent" android:layout_height="42dip" - android:layout_marginLeft="0dip" - android:layout_marginRight="0dip" - android:paddingLeft="2dip" + android:layout_marginLeft="2dip" + android:layout_marginRight="2dip" + android:paddingLeft="8dip" android:paddingRight="2dip" android:orientation="horizontal" android:background="@drawable/appwidget_header_selector"> @@ -45,7 +39,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:layout_marginRight="2dip" + android:layout_marginRight="4dip" android:orientation="vertical"> <TextView android:id="@+id/day_of_week" @@ -67,17 +61,6 @@ android:id="@+id/day_of_month" android:textColor="@color/appwidget_date" style="@style/WidgetDayStyle" /> - - <ImageButton - android:id="@+id/new_event_button" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:paddingLeft="2dip" - android:paddingRight="2dip" - android:layout_gravity="center_vertical|right" - android:src="@drawable/btn_ic_new_event_cal_widget_holo_dark" - android:contentDescription="@string/accessibility_new_event" - android:background="?android:attr/selectableItemBackground" /> </LinearLayout> <!-- Separator --> |