summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2014-11-20 14:06:28 -0800
committerSteve Kondik <steve@cyngn.com>2015-03-21 16:21:22 -0700
commitf206f789a9d9b81bf54c903fd9f514b6dbbb3440 (patch)
tree3abbc3b18ba4c4425cb152bab38aa62e395a1554 /res/layout
parent857054315ce0b9ce4194e5dff88a53ea8a126935 (diff)
downloadpackages_apps_InCallUI-f206f789a9d9b81bf54c903fd9f514b6dbbb3440.tar.gz
packages_apps_InCallUI-f206f789a9d9b81bf54c903fd9f514b6dbbb3440.tar.bz2
packages_apps_InCallUI-f206f789a9d9b81bf54c903fd9f514b6dbbb3440.zip
InCallUI: move 'more' menu button to top-right
This menu includes call recording and add to blacklist functionality. Don't clutter up the button area and move this elsewhere. Change-Id: Ie908e1ad9a59b1f11967b91e4b6fb93e3f172c74 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/call_button_fragment.xml6
-rw-r--r--res/layout/call_card_content.xml17
2 files changed, 17 insertions, 6 deletions
diff --git a/res/layout/call_button_fragment.xml b/res/layout/call_button_fragment.xml
index 257c99be..f1b0a42e 100644
--- a/res/layout/call_button_fragment.xml
+++ b/res/layout/call_button_fragment.xml
@@ -174,12 +174,6 @@
android:contentDescription="@string/onscreenManageConferenceText"
android:visibility="gone" />
- <ImageButton
- android:id="@+id/moreMenuButton"
- style="@style/InCallButton"
- android:background="@drawable/btn_overflow"
- android:contentDescription="@string/onscreenMoreMenuText" />
-
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/call_card_content.xml b/res/layout/call_card_content.xml
index 671f485b..03081588 100644
--- a/res/layout/call_card_content.xml
+++ b/res/layout/call_card_content.xml
@@ -58,6 +58,23 @@
</LinearLayout>
+ <!-- More menu overflow button for call recording, blacklisting
+ only visible during the call. It sits above the primary call info
+ container in the top-right hand corner. -->
+ <ImageButton
+ android:id="@+id/moreMenuButton"
+ style="@style/InCallButton"
+ android:paddingTop="16dp"
+ android:paddingRight="16dp"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:background="@drawable/overflow_thumbnail"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:elevation="@dimen/primary_call_overflow_elevation"
+ android:rotation="90"
+ android:contentDescription="@string/onscreenMoreMenuText"/>
+
<!-- Contact photo for primary call info -->
<ImageView android:id="@+id/photo"
android:layout_below="@id/primary_call_info_container"