summaryrefslogtreecommitdiffstats
path: root/res/layout/appwidget.xml
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2011-03-11 17:03:06 -0800
committerMichael Chan <mchan@android.com>2011-03-15 10:46:28 -0700
commit7a0ca8aa24370c6fd72873af1ad36a2d7f38e927 (patch)
tree167a646548e51a34a8e09cb79623377c9c12e92e /res/layout/appwidget.xml
parenta38da7d3d03e1a1151d199dbac0a00ff2ff75a89 (diff)
downloadandroid_packages_apps_Calendar-7a0ca8aa24370c6fd72873af1ad36a2d7f38e927.tar.gz
android_packages_apps_Calendar-7a0ca8aa24370c6fd72873af1ad36a2d7f38e927.tar.bz2
android_packages_apps_Calendar-7a0ca8aa24370c6fd72873af1ad36a2d7f38e927.zip
b/4052155 Pixel perfect for Calendar widget.
Change-Id: I5da2be56eb28ee3d04179daa6c6d3f8657db29f8
Diffstat (limited to 'res/layout/appwidget.xml')
-rw-r--r--res/layout/appwidget.xml24
1 files changed, 9 insertions, 15 deletions
diff --git a/res/layout/appwidget.xml b/res/layout/appwidget.xml
index 47944595..b55a31dd 100644
--- a/res/layout/appwidget.xml
+++ b/res/layout/appwidget.xml
@@ -18,10 +18,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginTop="7dip"
- android:layout_marginBottom="18dip"
- android:layout_marginLeft="12dip"
- android:layout_marginRight="12dip"
+ 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"
@@ -32,9 +34,8 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="42dip"
- android:layout_marginTop="5dip"
- android:layout_marginLeft="5dip"
- android:layout_marginRight="5dip"
+ android:layout_marginLeft="3dip"
+ android:layout_marginRight="3dip"
android:paddingLeft="16dip"
android:orientation="horizontal"
android:background="@drawable/appwidget_header_selector">
@@ -94,8 +95,7 @@
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
- android:layout_marginLeft="1dip"
- android:layout_marginRight="4dip"
+ android:layout_marginRight="3dip"
android:fadingEdge="none"
android:divider="#00000000"
android:dividerHeight="0dip"
@@ -108,10 +108,4 @@
android:background="@drawable/list_div_top_btm_cal_widget_holo"
android:focusable="false"
android:clickable="false" />
-
- <!-- Spacer -->
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="2dip"
- android:background="#00000000"/>
</LinearLayout>