summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorSpike Sprague <spikuru@google.com>2014-01-17 12:22:04 -0800
committerSpike Sprague <spikuru@google.com>2014-01-17 12:22:04 -0800
commitdd58749b4e785ea34f23339eabc4bc3040aa1349 (patch)
tree87dbcd3900879b19b47e7df944cf1708c29bb6c8 /res/drawable
parent38c6bc33c306873f6dfdfa3714386be305934392 (diff)
downloadandroid_packages_apps_Camera2-dd58749b4e785ea34f23339eabc4bc3040aa1349.tar.gz
android_packages_apps_Camera2-dd58749b4e785ea34f23339eabc4bc3040aa1349.tar.bz2
android_packages_apps_Camera2-dd58749b4e785ea34f23339eabc4bc3040aa1349.zip
3 dots press state in bottom bar should be sticky
bug: 12600702 Change-Id: Ibd6725e8441775d6d6bced08280430e180bd1c37
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/ic_options_active.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/res/drawable/ic_options_active.xml b/res/drawable/ic_options_active.xml
new file mode 100644
index 000000000..9b5313cb6
--- /dev/null
+++ b/res/drawable/ic_options_active.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+
+<level-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:maxLevel="0">
+ <layer-list>
+ <item android:drawable="@drawable/button_background_pressed_light" />
+ <item>
+ <bitmap
+ android:gravity="center"
+ android:src="@drawable/ic_capture_options" />
+ </item>
+ </layer-list>
+ </item>
+ <item android:maxLevel="1">
+ <layer-list>
+ <item android:drawable="@drawable/button_background_pressed_dark" />
+ <item>
+ <bitmap
+ android:gravity="center"
+ android:src="@drawable/ic_capture_options" />
+ </item>
+ </layer-list>
+ </item>
+</level-list>
+