summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-12-01 12:02:09 +0800
committerChung-yih Wang <cywang@google.com>2010-12-03 16:08:23 +0800
commit1d12db9c16f57894aee41d004b4e21d684cc269d (patch)
tree438d2c5ce82465c2772033df95397f718b53de27 /res/drawable
parent742593ed71ebff889a0a23eeba6d7309def6c4fb (diff)
downloadLegacyCamera-1d12db9c16f57894aee41d004b4e21d684cc269d.zip
LegacyCamera-1d12db9c16f57894aee41d004b4e21d684cc269d.tar.gz
LegacyCamera-1d12db9c16f57894aee41d004b4e21d684cc269d.tar.bz2
Highlight the selected setting in popup windows.
bug:3242797 Change-Id: Iba2c93a2213723a16137a2083de10f3300feee2f
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/setting_picker.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/setting_picker.xml b/res/drawable/setting_picker.xml
new file mode 100644
index 0000000..60ece1d
--- /dev/null
+++ b/res/drawable/setting_picker.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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/setting_picker_pressed" />
+ <item android:drawable="@android:color/transparent" />
+</selector>