diff options
author | Sara Ting <sarating@google.com> | 2012-04-04 22:52:20 -0700 |
---|---|---|
committer | Sara Ting <sarating@google.com> | 2012-04-06 11:15:21 -0700 |
commit | cb5f5688a4080e6a20f4f7a52adef1ed971035cb (patch) | |
tree | 7a9e98207c4d2ba8dcb501dd25d987de428acd28 /res/layout/event_info_dialog.xml | |
parent | 8918515cd17a1011fbee0a802899ced0c361c2dd (diff) | |
download | android_packages_apps_Calendar-cb5f5688a4080e6a20f4f7a52adef1ed971035cb.tar.gz android_packages_apps_Calendar-cb5f5688a4080e6a20f4f7a52adef1ed971035cb.tar.bz2 android_packages_apps_Calendar-cb5f5688a4080e6a20f4f7a52adef1ed971035cb.zip |
Updating UI of 'email attendees' feature.
Moving away from a button in the title bar, to one in the body of the event info.
Change-Id: I775a49c45a9705312482f123b105f378b77d4e27
Diffstat (limited to 'res/layout/event_info_dialog.xml')
-rw-r--r-- | res/layout/event_info_dialog.xml | 57 |
1 files changed, 42 insertions, 15 deletions
diff --git a/res/layout/event_info_dialog.xml b/res/layout/event_info_dialog.xml index c625ad91..78633789 100644 --- a/res/layout/event_info_dialog.xml +++ b/res/layout/event_info_dialog.xml @@ -103,17 +103,6 @@ style="?android:attr/buttonBarButtonStyle" android:background="@drawable/event_info_compose_button" /> <Button - android:id="@+id/mail" - android:layout_width="32dip" - android:layout_height="32dip" - android:layout_weight="1" - android:layout_marginTop="8dip" - android:layout_marginRight="16dip" - android:enabled="false" - android:visibility="gone" - style="?android:attr/buttonBarButtonStyle" - android:background="@drawable/event_info_mail_button" /> - <Button android:id="@+id/delete" android:layout_width="32dip" android:layout_height="32dip" @@ -213,7 +202,7 @@ <TextView android:id="@+id/response_label" android:layout_width="match_parent" - android:layout_height="32dip" + android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:paddingLeft="8dip" android:paddingRight="16dip" @@ -227,9 +216,8 @@ android:id="@+id/response_value" android:layout_width="match_parent" android:layout_height="wrap_content" + android:minHeight="52dip" android:layout_gravity="center_vertical" - android:layout_marginTop="8dip" - android:layout_marginBottom="8dip" android:paddingLeft="9dip" android:orientation="horizontal"> <RadioButton @@ -237,6 +225,7 @@ android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" + android:layout_gravity="center_vertical" android:minWidth="96dip" style="?android:attr/textAppearanceMedium" android:textColor="@color/event_info_body_color" @@ -246,6 +235,7 @@ android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" + android:layout_gravity="center_vertical" android:minWidth="96dip" style="?android:attr/textAppearanceMedium" android:textColor="@color/event_info_body_color" @@ -255,12 +245,48 @@ android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" + android:layout_gravity="center_vertical" android:minWidth="96dip" style="?android:attr/textAppearanceMedium" android:textColor="@color/event_info_body_color" android:text="@string/response_no" /> </RadioGroup> </LinearLayout> + + <!-- EMAIL GUESTS --> + <LinearLayout + android:id="@+id/email_attendees_container" + android:visibility="gone" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <View + android:background="?android:attr/listDivider" + android:layout_height="1px" + android:layout_width="match_parent" + android:layout_marginLeft="8dip" + android:layout_marginRight="0dip" /> + <Button + android:id="@+id/email_attendees_button" + android:text="@string/email_guests_label" + android:layout_height="50dp" + android:layout_width="match_parent" + android:layout_marginLeft="8dp" + android:layout_marginRight="0dp" + android:layout_gravity="left" + android:gravity="center_vertical" + android:paddingBottom="0dp" + android:layout_marginTop="0dip" + android:layout_marginBottom="0dip" + android:textAllCaps="false" + android:textSize="16sp" + android:textColor="#777777" + android:background="?android:attr/selectableItemBackground" + android:drawableLeft="@drawable/event_info_mail_button" + android:drawablePadding="8dp" + style="@style/TextAppearance.EditEvent_LabelSmall" /> + </LinearLayout> + <!-- GUEST LIST --> <com.android.calendar.event.AttendeesView android:id="@+id/long_attendee_list" @@ -301,8 +327,9 @@ android:id="@+id/reminder_add" android:text="@string/reminders_label" android:layout_height="wrap_content" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_marginLeft="8dp" + android:layout_marginRight="0dp" android:layout_marginBottom="-6dp" android:gravity="center_vertical|left" android:textSize="18sp" |