summaryrefslogtreecommitdiff
path: root/res/drawable-land/done_background_color.xml
diff options
context:
space:
mode:
authorSam Blitzstein <sblitz@google.com>2013-09-05 17:53:26 -0700
committerSam Blitzstein <sblitz@google.com>2013-09-05 19:37:41 -0700
commit1f129e23db2dc5837a856f7734b15a5a8be6be94 (patch)
tree952caee82ca0ae6814f045a489d24f4fffdce7a6 /res/drawable-land/done_background_color.xml
parenta35f6b580aefd7bf1c7e92306e13dacd44316714 (diff)
downloaddatetimepicker-1f129e23db2dc5837a856f7734b15a5a8be6be94.tar.gz
Add setDarkTheme() to TimePicker.android-4.4_r0.7
This is just a temporary solution for the clock app. When the pickers are framework-ready they will use the correct system-level factory methods for setting dark themes. Bug: 10516092 Change-Id: I0574de6f79f0d2973a80ea91bcc885e207f2fcf8
Diffstat (limited to 'res/drawable-land/done_background_color.xml')
-rw-r--r--res/drawable-land/done_background_color.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/drawable-land/done_background_color.xml b/res/drawable-land/done_background_color.xml
new file mode 100644
index 0000000..b2acf46
--- /dev/null
+++ b/res/drawable-land/done_background_color.xml
@@ -0,0 +1,25 @@
+<?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.
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true"
+ android:state_pressed="false"
+ android:drawable="@color/blue_focused" />
+
+ <item android:state_pressed="true"
+ android:drawable="@color/blue" />
+
+ <item android:drawable="@color/white" />
+</selector> \ No newline at end of file