diff options
Diffstat (limited to 'res/drawable')
4 files changed, 44 insertions, 4 deletions
diff --git a/res/drawable/ab_dropdown_navigation_item_background.xml b/res/drawable/ab_dropdown_navigation_item_background.xml new file mode 100644 index 000000000..c144996c4 --- /dev/null +++ b/res/drawable/ab_dropdown_navigation_item_background.xml @@ -0,0 +1,21 @@ +<?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/ab_dropdown_navigation_item_background_pressed"/> + <item android:drawable="@drawable/spinner_default_holo_dark" /> +</selector> diff --git a/res/drawable/ab_dropdown_navigation_item_background_pressed.xml b/res/drawable/ab_dropdown_navigation_item_background_pressed.xml new file mode 100644 index 000000000..d075a050e --- /dev/null +++ b/res/drawable/ab_dropdown_navigation_item_background_pressed.xml @@ -0,0 +1,21 @@ +<?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. +--> + +<layer-list + xmlns:android="http://schemas.android.com/apk/res/android" > + <item android:drawable="@drawable/action_bar_item_pressed_holo_light" /> + <item android:drawable="@drawable/spinner_default_holo_dark" /> +</layer-list> diff --git a/res/drawable/action_bar_item_background.xml b/res/drawable/action_bar_item_background.xml index 8dd8d9b83..7ccc3a9de 100644 --- a/res/drawable/action_bar_item_background.xml +++ b/res/drawable/action_bar_item_background.xml @@ -14,8 +14,7 @@ limitations under the License. --> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:exitFadeDuration="@android:integer/config_mediumAnimTime"> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/action_bar_item_pressed_holo_light"/> <item android:drawable="@android:color/transparent" /> </selector> diff --git a/res/drawable/group_list_item_background.xml b/res/drawable/group_list_item_background.xml index 345117f91..70cd30814 100644 --- a/res/drawable/group_list_item_background.xml +++ b/res/drawable/group_list_item_background.xml @@ -14,8 +14,7 @@ limitations under the License. --> -<selector xmlns:android="http://schemas.android.com/apk/res/android" - android:exitFadeDuration="@android:integer/config_mediumAnimTime"> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_activated="true" android:drawable="@drawable/list_activated_holo" /> <item android:state_pressed="true" android:drawable="@drawable/list_pressed_holo_light" /> <item android:state_focused="true" android:drawable="@drawable/list_focused_holo" /> |