From 42896f76d81dbae873614340a3a78b29e7d463d2 Mon Sep 17 00:00:00 2001 From: Sara Ting Date: Thu, 15 Mar 2012 15:24:36 -0700 Subject: Adding 'Email attendees' button to event info screen. Adding ability to email all the attendees of an event. All declining attendees are put in the 'cc' field, with all others in the 'to' field. Change-Id: Id6b2dbcc70a2aac22ce9027e0d356a5e8c785ba3 --- res/drawable-hdpi/ic_menu_email_holo_light.png | Bin 0 -> 300 bytes res/drawable-mdpi/ic_menu_email_holo_light.png | Bin 0 -> 223 bytes res/drawable-xhdpi/ic_menu_email_holo_light.png | Bin 0 -> 424 bytes res/drawable/event_info_mail_button.xml | 26 ++++ res/layout/event_info_dialog.xml | 14 ++ res/menu/event_info_title_bar.xml | 13 +- res/values/strings.xml | 6 + src/com/android/calendar/EventInfoFragment.java | 191 ++++++++++++++++++++++-- 8 files changed, 238 insertions(+), 12 deletions(-) create mode 100644 res/drawable-hdpi/ic_menu_email_holo_light.png create mode 100644 res/drawable-mdpi/ic_menu_email_holo_light.png create mode 100644 res/drawable-xhdpi/ic_menu_email_holo_light.png create mode 100644 res/drawable/event_info_mail_button.xml diff --git a/res/drawable-hdpi/ic_menu_email_holo_light.png b/res/drawable-hdpi/ic_menu_email_holo_light.png new file mode 100644 index 00000000..b590822e Binary files /dev/null and b/res/drawable-hdpi/ic_menu_email_holo_light.png differ diff --git a/res/drawable-mdpi/ic_menu_email_holo_light.png b/res/drawable-mdpi/ic_menu_email_holo_light.png new file mode 100644 index 00000000..4f194f89 Binary files /dev/null and b/res/drawable-mdpi/ic_menu_email_holo_light.png differ diff --git a/res/drawable-xhdpi/ic_menu_email_holo_light.png b/res/drawable-xhdpi/ic_menu_email_holo_light.png new file mode 100644 index 00000000..a2d821ae Binary files /dev/null and b/res/drawable-xhdpi/ic_menu_email_holo_light.png differ diff --git a/res/drawable/event_info_mail_button.xml b/res/drawable/event_info_mail_button.xml new file mode 100644 index 00000000..82efed8f --- /dev/null +++ b/res/drawable/event_info_mail_button.xml @@ -0,0 +1,26 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/event_info_dialog.xml b/res/layout/event_info_dialog.xml index eded62b7..c625ad91 100644 --- a/res/layout/event_info_dialog.xml +++ b/res/layout/event_info_dialog.xml @@ -97,10 +97,22 @@ android:layout_height="32dip" android:layout_weight="1" android:enabled="false" + android:visibility="gone" android:layout_marginTop="8dip" android:layout_marginRight="16dip" style="?android:attr/buttonBarButtonStyle" android:background="@drawable/event_info_compose_button" /> +