From 54b90dcbf4c488f4f818b8c37a3b1277e7790d9e Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Mon, 14 Oct 2013 14:58:13 -0700 Subject: Replaces ToggleButtons with ImageButtons - Defer setting the toggled/selected state until TeleService gets back to us. Bug: 11172457 Change-Id: I4d103c1288b6e730c61aaf49e679f6b58746897b --- InCallUI/res/drawable/btn_compound_audio.xml | 2 +- InCallUI/res/drawable/btn_compound_hold.xml | 30 ------------------ InCallUI/res/drawable/btn_compound_mute.xml | 30 ------------------ .../res/drawable/btn_fake_compound_background.xml | 36 ++++++++++++++++++++++ InCallUI/res/drawable/btn_fake_compound_hold.xml | 30 ++++++++++++++++++ InCallUI/res/drawable/btn_fake_compound_mute.xml | 30 ++++++++++++++++++ .../list_selector_selected_and_pressed.xml | 20 ++++++++++++ 7 files changed, 117 insertions(+), 61 deletions(-) delete mode 100644 InCallUI/res/drawable/btn_compound_hold.xml delete mode 100644 InCallUI/res/drawable/btn_compound_mute.xml create mode 100644 InCallUI/res/drawable/btn_fake_compound_background.xml create mode 100644 InCallUI/res/drawable/btn_fake_compound_hold.xml create mode 100644 InCallUI/res/drawable/btn_fake_compound_mute.xml create mode 100644 InCallUI/res/drawable/list_selector_selected_and_pressed.xml (limited to 'InCallUI/res/drawable') diff --git a/InCallUI/res/drawable/btn_compound_audio.xml b/InCallUI/res/drawable/btn_compound_audio.xml index c348c98c1..5d364942d 100644 --- a/InCallUI/res/drawable/btn_compound_audio.xml +++ b/InCallUI/res/drawable/btn_compound_audio.xml @@ -37,7 +37,7 @@ (In states where the audio button *not* a toggle, we explicitly hide this layer.) --> + android:drawable="@drawable/btn_fake_compound_background" /> - - - - - - - - - - - - - diff --git a/InCallUI/res/drawable/btn_compound_mute.xml b/InCallUI/res/drawable/btn_compound_mute.xml deleted file mode 100644 index 4e09bd9c3..000000000 --- a/InCallUI/res/drawable/btn_compound_mute.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/InCallUI/res/drawable/btn_fake_compound_background.xml b/InCallUI/res/drawable/btn_fake_compound_background.xml new file mode 100644 index 000000000..197f589d1 --- /dev/null +++ b/InCallUI/res/drawable/btn_fake_compound_background.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/InCallUI/res/drawable/btn_fake_compound_hold.xml b/InCallUI/res/drawable/btn_fake_compound_hold.xml new file mode 100644 index 000000000..04bdd9441 --- /dev/null +++ b/InCallUI/res/drawable/btn_fake_compound_hold.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + diff --git a/InCallUI/res/drawable/btn_fake_compound_mute.xml b/InCallUI/res/drawable/btn_fake_compound_mute.xml new file mode 100644 index 000000000..69048a27f --- /dev/null +++ b/InCallUI/res/drawable/btn_fake_compound_mute.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + diff --git a/InCallUI/res/drawable/list_selector_selected_and_pressed.xml b/InCallUI/res/drawable/list_selector_selected_and_pressed.xml new file mode 100644 index 000000000..d81ee36ea --- /dev/null +++ b/InCallUI/res/drawable/list_selector_selected_and_pressed.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file -- cgit v1.2.3