From a46175985e5f7d1685b9a8c6fa0ca425527d6901 Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Tue, 8 Oct 2013 15:59:56 -0700 Subject: Sets a few button to invisible by default. - When user rejects an incoming call, the buttons wouldn't get initialized to be visible or invisible because the call state never gets to be processed. - A few non-essential buttons (add call/swap call/merge call) are therefore defaulted to be inivisible. Bug: 11028671 Change-Id: Ia2b800a80b83bd8212bef67834c9f5214e3090b5 --- InCallUI/res/layout/call_button_fragment.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 420d2aa6a..1e7049d30 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -136,6 +136,7 @@ style="@style/InCallButton" android:src="@drawable/ic_incall_switch_holo_dark" android:contentDescription="@string/onscreenSwapCallsText" + android:visibility="gone" /> @@ -150,6 +151,7 @@ style="@style/InCallButton" android:src="@drawable/ic_add_contact_holo_dark" android:contentDescription="@string/onscreenAddCallText" + android:visibility="gone" /> -- cgit v1.2.3