diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-10-22 20:49:32 -0700 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-10-24 12:12:17 -0700 |
commit | 50088e364aaa3074476e1300a270aafb0653df47 (patch) | |
tree | 43ff6908e1e1407d9c298f0a07ea3cea479d6c9f /res/layout/appwidget_day.xml | |
parent | f04c18ebd99f35d5df3d0ac9d9dcec524119f7c8 (diff) | |
download | android_packages_apps_Calendar-50088e364aaa3074476e1300a270aafb0653df47.tar.gz android_packages_apps_Calendar-50088e364aaa3074476e1300a270aafb0653df47.tar.bz2 android_packages_apps_Calendar-50088e364aaa3074476e1300a270aafb0653df47.zip |
Update widget layout.
Bug: 3125893
Change-Id: I6b9a370ff24e1dcb35beaaa71c72d9ddcbda6248
Diffstat (limited to 'res/layout/appwidget_day.xml')
-rw-r--r-- | res/layout/appwidget_day.xml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/res/layout/appwidget_day.xml b/res/layout/appwidget_day.xml index b2603839..d2432ee8 100644 --- a/res/layout/appwidget_day.xml +++ b/res/layout/appwidget_day.xml @@ -21,14 +21,23 @@ android:layout_height="match_parent" android:orientation="vertical" android:addStatesFromChildren="true" - android:focusableInTouchMode="false"> + android:focusableInTouchMode="false" + android:clickable="false"> - <TextView xmlns:android="http://schemas.android.com/apk/res/android" + <!-- Left edge should align with those of event texts. + TODO: values marginLeft/marginRight should be same as those in + appwidget_row.xml. Should be better to have those values in style.xml + --> + <TextView android:id="@+id/date" android:layout_height="wrap_content" android:layout_width="match_parent" + android:layout_marginLeft="2dip" + android:layout_marginRight="3dip" + android:layout_marginTop="1dip" + android:layout_marginBottom="1dip" + android:paddingLeft="18dip" android:background="@color/agenda_day_bar_bg_color" - android:padding="4dip" android:textColor="@color/agenda_day_bar_title_color" /> </LinearLayout> |