diff options
author | Michael Chan <mchan@android.com> | 2011-09-08 00:52:18 -0700 |
---|---|---|
committer | Michael Chan <mchan@android.com> | 2011-09-08 01:28:32 -0700 |
commit | b20942b3087dbef5483669b76e00e9b8b4d5a7b1 (patch) | |
tree | acd41c9945fdc1d4840a85ba8c82d27438d76e4c /res/layout/edit_event_2.xml | |
parent | 37dad3e293b60268aa7b21ec41bddbbf3dc1a348 (diff) | |
download | android_packages_apps_Calendar-b20942b3087dbef5483669b76e00e9b8b4d5a7b1.tar.gz android_packages_apps_Calendar-b20942b3087dbef5483669b76e00e9b8b4d5a7b1.tar.bz2 android_packages_apps_Calendar-b20942b3087dbef5483669b76e00e9b8b4d5a7b1.zip |
Tidy up EventInfo and EditEvent
EventInfo
Replace + with "Add reminder"
EditEvent (phone only)
Replace + with "Add reminder"
Made allday label clickable, not just the checkbox
Reminder spacing cleanup
Timezone spacing cleanup
Change-Id: I8b1e604511d07d4bb365482bbb7eae459e367e5c
Diffstat (limited to 'res/layout/edit_event_2.xml')
-rw-r--r-- | res/layout/edit_event_2.xml | 43 |
1 files changed, 14 insertions, 29 deletions
diff --git a/res/layout/edit_event_2.xml b/res/layout/edit_event_2.xml index dfd1bc8f..4cbe1edc 100644 --- a/res/layout/edit_event_2.xml +++ b/res/layout/edit_event_2.xml @@ -165,14 +165,14 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" - android:minHeight="32dip" android:focusable="true"> <TextView android:id="@+id/reminders_group_label" android:text="@string/event_info_reminders_label" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:layout_gravity="center_vertical" + android:gravity="center_vertical" + android:layout_marginBottom="0dip" style="@style/TextAppearance.EditEvent_LabelSmall" /> <LinearLayout android:layout_height="wrap_content" @@ -187,35 +187,20 @@ android:orientation="vertical" /> </LinearLayout> </LinearLayout> - <LinearLayout + <Button + android:id="@+id/reminder_add" + android:text="@string/reminders_label" android:layout_height="wrap_content" - android:layout_width="fill_parent" + android:layout_width="wrap_content" + android:layout_gravity="center_vertical" android:gravity="center_vertical" - android:orientation="horizontal" - android:background="#00000000" - android:minHeight="28dip"> - <TextView - android:id="@+id/reminders_label" - android:text="@string/reminders_label" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:gravity="center_vertical" - android:layout_marginBottom="5dip" - android:layout_marginTop="5dip" - android:background="#00000000" - style="@style/TextAppearance.EditEvent_LabelSmall" /> - <ImageButton - android:id="@+id/reminder_add" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/PlusButton" - android:background="#00000000" - android:contentDescription="@string/accessibility_add_reminder" - android:layout_gravity="center_vertical" /> - </LinearLayout> - - + android:layout_marginBottom="5dip" + android:textSize="18sp" + android:textColor="#FF777777" + android:minHeight="48dip" + android:background="@null" + android:contentDescription="@string/accessibility_add_reminder" + style="@style/TextAppearance.EditEvent_LabelSmall" /> <!-- PRESENCE - Show me as [busy | available] --> <LinearLayout |