summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-11-02 16:53:22 +0800
committerAngus Kong <shkong@google.com>2012-11-02 16:53:22 +0800
commit1cfe5fa35a7f210ee73c7fa29023709c11278b7e (patch)
tree883ae88c3f1aa76f4f13ab08a1cfb5991a86b4d5 /res/drawable
parent644101695e23bf682de4ac9e62569ea79cfef0bc (diff)
downloadandroid_packages_apps_Gallery2-1cfe5fa35a7f210ee73c7fa29023709c11278b7e.tar.gz
android_packages_apps_Gallery2-1cfe5fa35a7f210ee73c7fa29023709c11278b7e.tar.bz2
android_packages_apps_Gallery2-1cfe5fa35a7f210ee73c7fa29023709c11278b7e.zip
Don't use activatedBackgroundIndicator under API 14
bug:7460473 Change-Id: I5d46302e13dfda04f72128329ecea147913ea8d8
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/action_bar_two_line_background.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/action_bar_two_line_background.xml b/res/drawable/action_bar_two_line_background.xml
new file mode 100644
index 000000000..a5a1855bb
--- /dev/null
+++ b/res/drawable/action_bar_two_line_background.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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_activated="true"
+ android:drawable="@drawable/list_selector_background_selected" />
+ <item android:drawable="@android:color/transparent" />
+</selector>