summaryrefslogtreecommitdiffstats
path: root/res/layout/appwidget.xml
diff options
context:
space:
mode:
authorRoboErik <epastern@google.com>2011-07-19 09:47:31 -0700
committerRoboErik <epastern@google.com>2011-07-19 11:01:32 -0700
commit5eb00ea6de6604a789c02b2a5c6ee5fbf5a206d2 (patch)
treeebaec6d659ec7aa702de332735c2ec10a02bc758 /res/layout/appwidget.xml
parent4acb2fd087308dea146b8b10f5278c59df387680 (diff)
downloadandroid_packages_apps_Calendar-5eb00ea6de6604a789c02b2a5c6ee5fbf5a206d2.tar.gz
android_packages_apps_Calendar-5eb00ea6de6604a789c02b2a5c6ee5fbf5a206d2.tar.bz2
android_packages_apps_Calendar-5eb00ea6de6604a789c02b2a5c6ee5fbf5a206d2.zip
b/5037880 tweaks to widget to make 2x2 work
Change-Id: Ie4d3f359bbfb2be04c7a4641c63b048beaaaf8c2
Diffstat (limited to 'res/layout/appwidget.xml')
-rw-r--r--res/layout/appwidget.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/res/layout/appwidget.xml b/res/layout/appwidget.xml
index afb5d743..349a5a37 100644
--- a/res/layout/appwidget.xml
+++ b/res/layout/appwidget.xml
@@ -25,7 +25,7 @@
android:paddingLeft="6dip"
android:paddingRight="6dip"
android:orientation="vertical"
- android:background="@null"
+ android:background="@drawable/gradient_bg_cal_widget_holo"
android:focusable="true"
android:clickable="true">
@@ -34,9 +34,10 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="42dip"
- android:layout_marginLeft="3dip"
- android:layout_marginRight="3dip"
- android:paddingLeft="8dip"
+ android:layout_marginLeft="0dip"
+ android:layout_marginRight="0dip"
+ android:paddingLeft="2dip"
+ android:paddingRight="2dip"
android:orientation="horizontal"
android:background="@drawable/appwidget_header_selector">
<LinearLayout
@@ -44,7 +45,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_marginRight="5dip"
+ android:layout_marginRight="2dip"
android:orientation="vertical">
<TextView
android:id="@+id/day_of_week"
@@ -71,8 +72,8 @@
android:id="@+id/new_event_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:paddingLeft="5dip"
- android:paddingRight="8dip"
+ 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"
@@ -96,10 +97,9 @@
android:layout_marginRight="3dip"
android:layout_marginLeft="3dip"
android:fadingEdge="none"
- android:divider="@color/appwidget_divider"
- android:dividerHeight="1dip"
- android:background="@color/calendar_today_bg_color"
- android:cacheColorHint="@color/calendar_today_bg_color" />
+ android:divider="@null"
+ android:dividerHeight="0dip"
+ android:cacheColorHint="@null" />
<!-- Separator -->
<ImageView