diff options
author | Christine Chen <christinech@google.com> | 2013-10-08 15:59:56 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-10-08 15:59:56 -0700 |
commit | a46175985e5f7d1685b9a8c6fa0ca425527d6901 (patch) | |
tree | 87bb97122aa6037c1e90c21c035353d67008255c | |
parent | 9b41bde1ddc37162b582f839aca0a6e82e0926c2 (diff) |
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
-rw-r--r-- | InCallUI/res/layout/call_button_fragment.xml | 3 |
1 files changed, 3 insertions, 0 deletions
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" /> <!-- Separator between 4th and 5th button (if 5th exists) --> @@ -150,6 +151,7 @@ style="@style/InCallButton" android:src="@drawable/ic_add_contact_holo_dark" android:contentDescription="@string/onscreenAddCallText" + android:visibility="gone" /> <!-- "Merge calls" --> <!-- This button is used only on GSM devices, where we know @@ -159,6 +161,7 @@ style="@style/InCallButton" android:src="@drawable/ic_merge_holo_dark" android:contentDescription="@string/onscreenMergeCallsText" + android:visibility="gone" /> <!-- Separator between 4th (or 5th) button and right padding --> |