summaryrefslogtreecommitdiffstats
path: root/res/drawable/btn_selected.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-07 11:29:41 -0700
committerAndrew Lee <anwlee@google.com>2014-05-07 12:30:43 -0700
commitdb4b9f0cb824e6bb95e5cf0b70075a0ea84d1d43 (patch)
treed3e38966521fff8cfc4bf1adcf27639522b7d4f2 /res/drawable/btn_selected.xml
parentaa30b74b036ef0e5c72fb1ab247aeaac058b2efb (diff)
downloadpackages_apps_InCallUI-db4b9f0cb824e6bb95e5cf0b70075a0ea84d1d43.tar.gz
packages_apps_InCallUI-db4b9f0cb824e6bb95e5cf0b70075a0ea84d1d43.tar.bz2
packages_apps_InCallUI-db4b9f0cb824e6bb95e5cf0b70075a0ea84d1d43.zip
Change selected/unselected states of buttons.
- Add touch feedback (w00t). - Adjust button heights/positions to spec. - Add drawables for the different button states (no longer tabs). - Remove vertical spacers (interfered with touch feedback). Change-Id: I383ca898c8d2fcfc8c34021efc62cb03adbde1c1
Diffstat (limited to 'res/drawable/btn_selected.xml')
-rw-r--r--res/drawable/btn_selected.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/drawable/btn_selected.xml b/res/drawable/btn_selected.xml
new file mode 100644
index 00000000..1446e416
--- /dev/null
+++ b/res/drawable/btn_selected.xml
@@ -0,0 +1,25 @@
+<?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
+ -->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item>
+ <shape android:shape="oval">
+ <solid android:color="@color/button_selected_color" />
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file