diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-01-13 22:18:40 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-01-13 22:18:40 +0100 |
commit | 862d1f1971a16d639dec47bd60226a959efe76b0 (patch) | |
tree | c488a278d28c58125846fbb8583670aedd193687 /OpenKeychain/src/main/res/drawable | |
parent | 2e3545949ba9ab48ed21cb2198c9f0d2b8691ba2 (diff) | |
download | open-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.tar.gz open-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.tar.bz2 open-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.zip |
Green
Diffstat (limited to 'OpenKeychain/src/main/res/drawable')
-rw-r--r-- | OpenKeychain/src/main/res/drawable/keychaintheme_btn_toggle_holo_light.xml | 50 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/drawable/keychaintheme_fastscroll_thumb_holo.xml (renamed from OpenKeychain/src/main/res/drawable/apptheme_fastscroll_thumb_holo.xml) | 4 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_control_selector_holo_light.xml | 22 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_progress_horizontal_holo_light.xml | 28 |
4 files changed, 102 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/res/drawable/keychaintheme_btn_toggle_holo_light.xml b/OpenKeychain/src/main/res/drawable/keychaintheme_btn_toggle_holo_light.xml new file mode 100644 index 000000000..733728e79 --- /dev/null +++ b/OpenKeychain/src/main/res/drawable/keychaintheme_btn_toggle_holo_light.xml @@ -0,0 +1,50 @@ +<?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"> + <item android:state_checked="true" + android:state_window_focused="false" android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_normal_holo_light" /> + <item android:state_checked="true" + android:state_window_focused="false" android:state_enabled="false" + android:drawable="@drawable/keychaintheme_btn_toggle_on_disabled_holo_light" /> + <item android:state_checked="true" android:state_pressed="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_pressed_holo_light" /> + <item android:state_checked="true" + android:state_focused="true" android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_focused_holo_light" /> + <item android:state_checked="true" android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_normal_holo_light" /> + <item android:state_checked="true" android:state_focused="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_disabled_focused_holo_light" /> + <item android:state_checked="true" + android:drawable="@drawable/keychaintheme_btn_toggle_on_disabled_holo_light" /> + + <item android:state_window_focused="false" android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_off_normal_holo_light" /> + <item android:state_window_focused="false" android:state_enabled="false" + android:drawable="@drawable/keychaintheme_btn_toggle_off_disabled_holo_light" /> + <item android:state_pressed="true" + android:drawable="@drawable/keychaintheme_btn_toggle_off_pressed_holo_light" /> + <item android:state_focused="true" android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_off_focused_holo_light" /> + <item android:state_enabled="true" + android:drawable="@drawable/keychaintheme_btn_toggle_off_normal_holo_light" /> + <item android:state_focused="true" + android:drawable="@drawable/keychaintheme_btn_toggle_off_disabled_focused_holo_light" /> + <item + android:drawable="@drawable/keychaintheme_btn_toggle_off_disabled_holo_light" /> +</selector> diff --git a/OpenKeychain/src/main/res/drawable/apptheme_fastscroll_thumb_holo.xml b/OpenKeychain/src/main/res/drawable/keychaintheme_fastscroll_thumb_holo.xml index e7121f083..51b376345 100644 --- a/OpenKeychain/src/main/res/drawable/apptheme_fastscroll_thumb_holo.xml +++ b/OpenKeychain/src/main/res/drawable/keychaintheme_fastscroll_thumb_holo.xml @@ -15,6 +15,6 @@ --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/apptheme_fastscroll_thumb_pressed_holo" /> - <item android:drawable="@drawable/apptheme_fastscroll_thumb_default_holo" /> + <item android:state_pressed="true" android:drawable="@drawable/keychaintheme_fastscroll_thumb_pressed_holo" /> + <item android:drawable="@drawable/keychaintheme_fastscroll_thumb_default_holo" /> </selector> diff --git a/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_control_selector_holo_light.xml b/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_control_selector_holo_light.xml new file mode 100644 index 000000000..a3b3530ac --- /dev/null +++ b/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_control_selector_holo_light.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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_enabled="false" android:drawable="@drawable/keychaintheme_scrubber_control_disabled_holo" /> + <item android:state_pressed="true" android:drawable="@drawable/keychaintheme_scrubber_control_pressed_holo" /> + <item android:state_selected="true" android:drawable="@drawable/keychaintheme_scrubber_control_focused_holo" /> + <item android:drawable="@drawable/keychaintheme_scrubber_control_normal_holo" /> +</selector> diff --git a/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_progress_horizontal_holo_light.xml b/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_progress_horizontal_holo_light.xml new file mode 100644 index 000000000..4ecf8a6c1 --- /dev/null +++ b/OpenKeychain/src/main/res/drawable/keychaintheme_scrubber_progress_horizontal_holo_light.xml @@ -0,0 +1,28 @@ +<?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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/background" + android:drawable="@drawable/keychaintheme_scrubber_track_holo_light" /> + <item android:id="@android:id/secondaryProgress"> + <scale android:scaleWidth="100%" + android:drawable="@drawable/keychaintheme_scrubber_secondary_holo" /> + </item> + <item android:id="@android:id/progress"> + <scale android:scaleWidth="100%" + android:drawable="@drawable/keychaintheme_scrubber_primary_holo" /> + </item> +</layer-list> |