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/layout/call_button_fragment.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/layout/call_button_fragment.xml')
-rw-r--r-- | InCallUI/res/layout/call_button_fragment.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml index 3cfd87f3d..139bdd00d 100644 --- a/InCallUI/res/layout/call_button_fragment.xml +++ b/InCallUI/res/layout/call_button_fragment.xml @@ -124,7 +124,7 @@ <!-- "Swap" (or "Manage calls" in some CDMA states) --> <ImageButton android:id="@+id/swapButton" style="@style/InCallButton" - android:src="@drawable/ic_incall_switch_holo_dark" + android:background="@drawable/btn_swap" android:contentDescription="@string/onscreenSwapCallsText" android:visibility="gone" /> @@ -138,7 +138,7 @@ <!-- "Add Call" --> <ImageButton android:id="@+id/addButton" style="@style/InCallButton" - android:src="@drawable/ic_add_contact_holo_dark" + android:background="@drawable/btn_add" android:contentDescription="@string/onscreenAddCallText" android:visibility="gone" /> @@ -148,7 +148,7 @@ The "Merge" button for CDMA devices is "cdmaMergeButton" above. --> <ImageButton android:id="@+id/mergeButton" style="@style/InCallButton" - android:src="@drawable/ic_merge_holo_dark" + android:background="@drawable/btn_merge" android:contentDescription="@string/onscreenMergeCallsText" android:visibility="gone" /> |