diff options
author | Christine Chen <christinech@google.com> | 2013-10-14 14:58:13 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-10-14 14:58:13 -0700 |
commit | 9be240faad1857e122614a70fd6e632b143ddc41 (patch) | |
tree | 4c1159ce66f85cf57c03cd97f3e654a3a5d02a71 /res/layout/call_button_fragment.xml | |
parent | 845b3fb72cd3dc3b4d042767d18dedb983ff4b47 (diff) | |
download | packages_apps_InCallUI-9be240faad1857e122614a70fd6e632b143ddc41.tar.gz packages_apps_InCallUI-9be240faad1857e122614a70fd6e632b143ddc41.tar.bz2 packages_apps_InCallUI-9be240faad1857e122614a70fd6e632b143ddc41.zip |
Replaces ToggleButtons with ImageButtons
- Defer setting the toggled/selected state until TeleService gets back to us.
Bug: 11172457
Change-Id: I4d103c1288b6e730c61aaf49e679f6b58746897b
Diffstat (limited to 'res/layout/call_button_fragment.xml')
-rw-r--r-- | res/layout/call_button_fragment.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/res/layout/call_button_fragment.xml b/res/layout/call_button_fragment.xml index 1e7049d3..013d1b22 100644 --- a/res/layout/call_button_fragment.xml +++ b/res/layout/call_button_fragment.xml @@ -101,8 +101,8 @@ action button that brings up a popup menu; see btn_compound_audio.xml and InCallTouchUi.updateAudioButton() for the full details. --> - <ToggleButton android:id="@+id/audioButton" - style="@style/InCallCompoundButton" + <ImageButton android:id="@+id/audioButton" + style="@style/InCallButton" android:background="@drawable/btn_compound_audio" android:contentDescription="@string/onscreenAudioText" /> @@ -112,9 +112,9 @@ <!-- "Mute" --> <!-- This is a "compound button": it has checked and unchecked states. --> - <ToggleButton android:id="@+id/muteButton" - style="@style/InCallCompoundButton" - android:background="@drawable/btn_compound_mute" + <ImageButton android:id="@+id/muteButton" + style="@style/InCallButton" + android:background="@drawable/btn_fake_compound_mute" android:contentDescription="@string/onscreenMuteText" /> @@ -126,9 +126,9 @@ must always be set to GONE. --> <!-- "Hold" --> <!-- This is a "compound button": it has checked and unchecked states. --> - <ToggleButton android:id="@+id/holdButton" - style="@style/InCallCompoundButton" - android:background="@drawable/btn_compound_hold" + <ImageButton android:id="@+id/holdButton" + style="@style/InCallButton" + android:background="@drawable/btn_fake_compound_hold" android:contentDescription="@string/onscreenHoldText" /> <!-- "Swap" (or "Manage calls" in some CDMA states) --> |