diff options
author | Andrew Lee <anwlee@google.com> | 2014-05-01 16:52:01 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-05-01 17:06:57 -0700 |
commit | 9329f6b15b6692187ed69ed8f26d22724bf4ac2a (patch) | |
tree | 538fdaef72384efe43c6705e0cb955a2a8db6ef6 /InCallUI/res/drawable/btn_compound_audio.xml | |
parent | fed16a420cb5ca4b98e74a69a91776a99c22c395 (diff) |
Add fancier press states for buttons.
- Add tint color, which applies 60% opacity in default state.
- Apply tint to dialer call buttons.
- Convert add, swap, and merge icons into drawables.
Bug: 14108639
Change-Id: Id9c08ccb035958e51d28255b8c13644c6c5fca73
Diffstat (limited to 'InCallUI/res/drawable/btn_compound_audio.xml')
-rw-r--r-- | InCallUI/res/drawable/btn_compound_audio.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/InCallUI/res/drawable/btn_compound_audio.xml b/InCallUI/res/drawable/btn_compound_audio.xml index c348c98c1..51dc2c59e 100644 --- a/InCallUI/res/drawable/btn_compound_audio.xml +++ b/InCallUI/res/drawable/btn_compound_audio.xml @@ -46,7 +46,8 @@ size of the button. --> <item android:id="@+id/moreIndicatorItem"> <bitmap android:src="@drawable/ic_more_indicator_holo_dark" - android:gravity="center" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> </item> <!-- Finally, the button icon. @@ -70,26 +71,30 @@ <!-- Bluetooth is active --> <item android:id="@+id/bluetoothItem"> <bitmap android:src="@drawable/ic_sound_bluetooth_holo_dark" - android:gravity="center" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> </item> <!-- Handset earpiece is active --> <item android:id="@+id/handsetItem"> <bitmap android:src="@drawable/ic_sound_handset_holo_dark" - android:gravity="center" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> </item> <!-- Speakerphone icon showing 'speaker on' state --> <item android:id="@+id/speakerphoneOnItem"> <bitmap android:src="@drawable/ic_sound_speakerphone_holo_dark" - android:gravity="center" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> </item> <!-- Speakerphone icon showing 'speaker off' state --> <item android:id="@+id/speakerphoneOffItem"> <bitmap android:src="@drawable/ic_sound_off_speakerphone_holo_dark" - android:gravity="center" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> </item> <!-- Generic "audio mode" icon. Looks almost identical to |