Unused resources removed

This commit is contained in:
serso
2015-01-27 19:50:57 +01:00
parent 108477f8bb
commit 9e47df582e
33 changed files with 12 additions and 349 deletions

View File

@@ -1,28 +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_pressed="true" android:drawable="@drawable/default_abs__btn_cab_done_pressed_holo_dark"/>
<item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/default_abs__btn_cab_done_focused_holo_dark"/>
<item android:state_enabled="true" android:drawable="@drawable/default_abs__btn_cab_done_default_holo_dark"/>
</selector>

View File

@@ -1,37 +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">
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
<!-- 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"/>-->
<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"
android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark"/>
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo"/>
<item android:drawable="@android:color/transparent"/>
</selector>

View File

@@ -1,26 +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
-->
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/default_abs__list_pressed_holo_dark"/>
<item android:drawable="@drawable/default_abs__list_longpressed_holo"/>
</transition>

View File

@@ -1,38 +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_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. -->
<!-- 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"/>-->
<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"
android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark"/>
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo"/>
</selector>

View File

@@ -1,48 +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:a="http://schemas.android.com/apk/res/android">
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false"
a:drawable="@android:color/transparent"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false"
a:drawable="@drawable/default_abs__tab_selected_holo"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false"
a:drawable="@drawable/default_abs__list_focused_holo"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false"
a:drawable="@drawable/default_abs__tab_selected_focused_holo"/>
<!-- Pressed -->
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true"
a:drawable="@drawable/default_abs__list_pressed_holo_dark"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true"
a:drawable="@drawable/default_abs__tab_selected_pressed_holo"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true"
a:drawable="@drawable/default_abs__tab_unselected_pressed_holo"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true"
a:drawable="@drawable/default_abs__tab_selected_pressed_holo"/>
</selector>

View File

@@ -1,48 +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:a="http://schemas.android.com/apk/res/android">
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false"
a:drawable="@android:color/transparent"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false"
a:drawable="@drawable/metro_blue_abs__tab_selected_holo"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false"
a:drawable="@drawable/metro_blue_abs__list_focused_holo"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false"
a:drawable="@drawable/metro_blue_abs__tab_selected_focused_holo"/>
<!-- Pressed -->
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true"
a:drawable="@drawable/metro_blue_abs__list_pressed_holo_dark"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true"
a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true"
a:drawable="@drawable/metro_blue_abs__tab_unselected_pressed_holo"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true"
a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo"/>
</selector>

View File

@@ -1,51 +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:a="http://schemas.android.com/apk/res/android">
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false"
a:drawable="@android:color/transparent"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false"
a:drawable="@color/cpp_metro_blue_color"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false"
a:drawable="@color/cpp_metro_blue_color"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false"
a:drawable="@color/cpp_metro_blue_color"/>
<!-- Pressed -->
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_blue_color"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_blue_color"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_blue_color"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_blue_color"/>
</selector>