Sherlock -> AppCompat

This commit is contained in:
serso
2015-01-27 15:08:47 +01:00
parent 52ed2d0071
commit 68636d8278
60 changed files with 1309 additions and 189 deletions

View File

@@ -23,10 +23,11 @@
<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"
<!-- todo serso: fix me-->
<!-- <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true"
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>
<item android:state_focused="true" android:state_enabled="false"
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>-->
<item android:state_focused="true" android:state_pressed="true"
android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark"/>
<item android:state_focused="false" android:state_pressed="true"

View File

@@ -25,10 +25,11 @@
<item android:state_window_focused="false" android:drawable="@android:color/transparent"/>
<!-- 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"
<!-- todo serso: fix me-->
<!-- <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true"
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>
<item android:state_focused="true" android:state_enabled="false"
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>
android:drawable="@drawable/abs__list_selector_disabled_holo_dark"/>-->
<item android:state_focused="true" android:state_pressed="true"
android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark"/>
<item android:state_focused="false" android:state_pressed="true"

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2013 serso aka se.solovyev
~
~ 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.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:drawable="@drawable/abs__spinner_ab_disabled_holo_dark"/>
<item android:state_pressed="true" android:drawable="@drawable/default_abs__spinner_ab_pressed_holo_dark"/>
<item android:state_pressed="false" android:state_focused="true"
android:drawable="@drawable/default_abs__spinner_ab_focused_holo_dark"/>
<item android:drawable="@drawable/abs__spinner_ab_default_holo_dark"/>
</selector>