summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorSteve Levis <stevenl@google.com>2012-05-14 13:03:33 -0700
committerSteve Levis <stevenl@google.com>2012-05-15 08:21:47 -0700
commit748e9ada696912c262a097d4211fde528f1cc0b8 (patch)
tree0bb92d5aa00b5c72d68e7950ea7a48fa88f7dbe4 /res/drawable
parente4b6e5b6a8147146f16a4bebc40ac61a0de03a29 (diff)
downloadandroid_packages_apps_DeskClock-748e9ada696912c262a097d4211fde528f1cc0b8.tar.gz
android_packages_apps_DeskClock-748e9ada696912c262a097d4211fde528f1cc0b8.tar.bz2
android_packages_apps_DeskClock-748e9ada696912c262a097d4211fde528f1cc0b8.zip
Update DeskClock ActionBar to Contacts Edit style
- onBackPressed() identical behavior to pressing "Done" Bug: 5954622 Change-Id: I94dd67ddcbaa11a082a14a04cee0807ad4deec6b
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/activated_background_holo_dark.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/drawable/activated_background_holo_dark.xml b/res/drawable/activated_background_holo_dark.xml
new file mode 100644
index 000000000..697d09a77
--- /dev/null
+++ b/res/drawable/activated_background_holo_dark.xml
@@ -0,0 +1,20 @@
+<?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_pressed="true" android:drawable="@drawable/list_activated_holo" />
+ <item android:drawable="@color/transparent" />
+</selector>