diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-05-06 22:04:47 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-05-06 22:04:47 +0200 |
commit | d6a9ec6ca89ea98e44acd8d9af76abfb07558cae (patch) | |
tree | 292e6fb7267096af6e7761fc49b3e678bab80564 /OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml | |
parent | e0985878d732674626eee947a8d27c7a9193495c (diff) | |
parent | 797aeaf6e8c7a8df39ee325c39924cf1f1a96778 (diff) | |
download | open-keychain-d6a9ec6ca89ea98e44acd8d9af76abfb07558cae.tar.gz open-keychain-d6a9ec6ca89ea98e44acd8d9af76abfb07558cae.tar.bz2 open-keychain-d6a9ec6ca89ea98e44acd8d9af76abfb07558cae.zip |
Merge pull request #612 from Valodim/purple-theme
ui: apply purple theme
Diffstat (limited to 'OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml')
-rw-r--r-- | OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml b/OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml new file mode 100644 index 000000000..b385d2f92 --- /dev/null +++ b/OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml @@ -0,0 +1,26 @@ +<?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"> + + <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --> + <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/keychaintheme_list_selector_disabled_holo_light" /> + <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/keychaintheme_list_selector_disabled_holo_light" /> + <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/keychaintheme_list_selector_background_transition_holo_light" /> + <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/keychaintheme_list_selector_background_transition_holo_light" /> + <item android:state_focused="true" android:drawable="@drawable/keychaintheme_list_focused_holo" /> + <item android:drawable="@android:color/transparent" /> +</selector> |