From 643ca675b6226508a41e186c4b49273dcda9c3fc Mon Sep 17 00:00:00 2001 From: Andrew Stadler Date: Tue, 16 Feb 2010 22:02:50 -0800 Subject: [PATCH] Placeholder invite-accept UI This is a lightweight placeholder so calendar functionality can be tested. Simply presents a message about the invitation, and a set of yes/maybe/no buttons to click. The UI is shown whenever the message appears to contain an invite. There are many elements left to be done here: TODO: response code (EAS protocol) doesn't seem to work TODO: use real assets & design TODO: provide a click-link into calendar event TODO: show calendar icon in messagelist too TODO: (if possible) persist user's response in button state? --- res/layout/message_view_header.xml | 1 + res/layout/message_view_invitation.xml | 65 +++++++++++++++++++ res/values/strings.xml | 8 +++ .../android/email/activity/MessageView.java | 29 ++++++--- 4 files changed, 95 insertions(+), 8 deletions(-) create mode 100644 res/layout/message_view_invitation.xml diff --git a/res/layout/message_view_header.xml b/res/layout/message_view_header.xml index f86475b22..bb7b592aa 100644 --- a/res/layout/message_view_header.xml +++ b/res/layout/message_view_header.xml @@ -166,6 +166,7 @@ android:text="@string/message_view_show_pictures_action" /> + + + + + +