From b16aafab5bed220e9e27f9d14e66ab6de75c27cd Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 1 May 2014 12:31:20 -0700 Subject: Consolidate buttons to use more common drawables. - Work is to facilitate styling selected button states to QP spec. - Change buttons to use btn_compound_background instead of the _fake_ version. - Deleted now-unused assets. - Changed btn_compound_background to use common action tab drawables. - Switched the dialpad button from a ToggleButton into an ImageButton, so that all the call buttons can use the same background. Technically, ToggleButton is more precise, but ImageButton is sufficient for behavior, and allows me to switch the state casing in the drawable to use state_selected instead of state_checked. Bug: 14108639 Change-Id: If6ebf05e51648a09307bf37926efb3670f55ba55 --- InCallUI/res/drawable/btn_compound_audio.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'InCallUI/res/drawable/btn_compound_audio.xml') diff --git a/InCallUI/res/drawable/btn_compound_audio.xml b/InCallUI/res/drawable/btn_compound_audio.xml index 5d364942d..c348c98c1 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_compound_background" />