From 2ee65e79ee71959d2ca26a6a3ec317d3a80b28e9 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 17 Jul 2014 18:44:39 -0700 Subject: Add new buttons for video calls. These are simply hidden for now; behavior needs to be wired up still. Since it now has so many buttons, I also tried to update and clean up the comments/arrangement of buttons in call_button_fragment. Bug: 16014280 Change-Id: If0780bab9de1889d9c4350ffc345c7239cfcc948 --- InCallUI/res/layout/call_button_fragment.xml | 85 +++++++++++++++++++++------- 1 file changed, 63 insertions(+), 22 deletions(-) (limited to 'InCallUI/res/layout/call_button_fragment.xml') diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 8397ace97..a35cc5e3a 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -50,10 +50,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - + - + that at any point exactly one of the pair is VISIBLE and the other is GONE. - - + If there are more than 5 buttons eligible to be shown, the presenter is responsible for + collapsing those options into an overflow menu, which appears as one of the buttons + in the row instead. --> + + + + + + + + + - + + - + + - @@ -111,6 +123,22 @@ android:contentDescription="@string/onscreenSwapCallsText" android:visibility="gone" /> + + + + + + + + @@ -121,16 +149,29 @@ android:contentDescription="@string/onscreenAddCallText" android:visibility="gone" /> - - + + + + + + + -- cgit v1.2.3