diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-05-06 19:18:32 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-05-06 19:18:32 +0200 |
commit | 797aeaf6e8c7a8df39ee325c39924cf1f1a96778 (patch) | |
tree | 292e6fb7267096af6e7761fc49b3e678bab80564 /OpenKeychain/src/main/res/drawable/keychaintheme_item_background_holo_light.xml | |
parent | e0985878d732674626eee947a8d27c7a9193495c (diff) | |
download | open-keychain-797aeaf6e8c7a8df39ee325c39924cf1f1a96778.tar.gz open-keychain-797aeaf6e8c7a8df39ee325c39924cf1f1a96778.tar.bz2 open-keychain-797aeaf6e8c7a8df39ee325c39924cf1f1a96778.zip |
ui: apply purple theme (twi is best color)
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> |