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/color/selectable_icon_tint.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/color/selectable_icon_tint.xml')
-rw-r--r-- | InCallUI/res/color/selectable_icon_tint.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/InCallUI/res/color/selectable_icon_tint.xml b/InCallUI/res/color/selectable_icon_tint.xml new file mode 100644 index 000000000..8665272ec --- /dev/null +++ b/InCallUI/res/color/selectable_icon_tint.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2014 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:color="#ffffffff" android:state_selected="true" /> + <item android:color="#ffffffff" android:state_pressed="true" /> + <item android:color="#99ffffff" /> +</selector> + |