summaryrefslogtreecommitdiffstats
path: root/res/drawable/btn_zoom_slider.xml
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-08-15 12:43:23 +0800
committerChung-yih Wang <cywang@google.com>2011-08-17 15:25:00 +0800
commitadab2bddc93bf4af535cb58e7167bf8690d97d8c (patch)
tree1d6a716948dd84f35282529172d2c7e5fecbf781 /res/drawable/btn_zoom_slider.xml
parent383a2b45820ff710627dbd536f1bd683e393e335 (diff)
downloadLegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.zip
LegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.tar.gz
LegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.tar.bz2
Add Sprung Lever Zoom Control for Phone UI.
bug:5083780 Change-Id: I5b29f6bc509fc93ed74175e2754ce9f3c4afe27f
Diffstat (limited to 'res/drawable/btn_zoom_slider.xml')
-rw-r--r--res/drawable/btn_zoom_slider.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/btn_zoom_slider.xml b/res/drawable/btn_zoom_slider.xml
new file mode 100644
index 0000000..6ecdf19
--- /dev/null
+++ b/res/drawable/btn_zoom_slider.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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:state_pressed="true" android:drawable="@drawable/ic_zoom_slider_pressed" />
+ <item android:drawable="@drawable/ic_zoom_slider" />
+</selector>
+