From ddb824ecb3f052551b3ea97d5f5cb3037ec4c683 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 21 Jul 2014 10:55:04 -0700 Subject: Implement InCall overflow button. - If there are more than 5 items (for a specifically identified case) collapse extra menu items into an overflow menu. - Construct/update menu, with appropriate click/dismiss listeners. This will happen every time something with the call buttons is updated, but I thought it was better to continue to track state in the presenter, rather than the fragment. - Add strings for associated menu items. Change-Id: Iaa036de3ed1c9abf16605181590d7241896c941d --- res/menu/incall_overflow_menu.xml | 33 +++++++++++++++++++++++++++++++++ res/values/strings.xml | 11 +++++++++++ 2 files changed, 44 insertions(+) create mode 100644 res/menu/incall_overflow_menu.xml (limited to 'res') diff --git a/res/menu/incall_overflow_menu.xml b/res/menu/incall_overflow_menu.xml new file mode 100644 index 00000000..06208ebd --- /dev/null +++ b/res/menu/incall_overflow_menu.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 654eb7dd..0a0d86d5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -288,6 +288,17 @@ to dial using the physical keyboard --> Use keyboard to dial + + Hold call + + Resume call + + Add call + + Merge calls + + Swap calls + Hold -- cgit v1.2.3