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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

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>

View File

@ -29,7 +29,7 @@
<color name="cpp_button_operator_text_color">#ffffff99</color>
<color name="cpp_button_ce_text_color">#ffffffff</color>
<color name="cpp_selected_angle_unit_text_color">#ffffff99</color>
<color name="cpp_default_background">#ff000000</color>
<color name="cpp_main_bg">#ff000000</color>
<color name="cpp_pane_background">#ff1f1f1f</color>
<color name="cpp_metro_button_background">#ff1f1f1f</color>
<color name="cpp_metro_blue_color">#10648c</color>

View File

@ -123,7 +123,7 @@
</style>
<style name="cpp_widget_main_layout_style" parent="cpp_default_main_layout_style">
<item name="android:background">@color/cpp_default_background</item>
<item name="android:background">@color/cpp_main_bg</item>
<item name="android:padding">1dp</item>
<item name="android:layout_margin">@dimen/cpp_widget_margin</item>
</style>
@ -137,7 +137,7 @@
</style>
<style name="cpp_onscreen_main_layout_style" parent="cpp_default_main_layout_style">
<item name="android:background">@color/cpp_default_background</item>
<item name="android:background">@color/cpp_main_bg</item>
<item name="android:padding">1dp</item>
</style>

View File

@ -115,33 +115,8 @@
<item name="android:layout_width">match_parent</item>
</style>
<style name="cpp_default_actionbar_style" parent="@style/Widget.AppCompat.ActionBar">
<item name="background">@drawable/default_abs__ab_transparent_dark_holo</item>
<item name="android:background">@drawable/default_abs__ab_transparent_dark_holo</item>
</style>
<style name="cpp_default_actionbar_tab_style" parent="@style/Widget.AppCompat.ActionBar.TabView">
<item name="background">@drawable/default_abs__tab_indicator_ab_holo</item>
<item name="android:background">@drawable/default_abs__tab_indicator_ab_holo</item>
</style>
<style name="cpp_default_actionbar_close_button_style" parent="@style/Widget.AppCompat.ActionButton.CloseMode">
<item name="android:background">@drawable/default_abs__btn_cab_done_holo_dark</item>
<item name="background">@drawable/default_abs__btn_cab_done_holo_dark</item>
</style>
<style name="cpp_default_actionbar_dropdown_style" parent="@style/Widget.AppCompat.Spinner.DropDown.ActionBar">
<!--<item name="android:background">@drawable/default_abs__spinner_ab_holo_dark</item>
<item name="background">@drawable/default_abs__spinner_ab_holo_dark</item>-->
</style>
<style name="cpp_default_actionbar_dropdown_listview_style" parent="@style/Widget.AppCompat.ListView.DropDown">
<item name="android:listSelector">@drawable/default_abs__list_selector_holo_dark</item>
<!--<item name="listSelector">@drawable/default_abs__list_selector_holo_dark</item>-->
</style>
<style name="cpp_gray_theme" parent="@style/Theme.AppCompat">
<item name="android:windowBackground">@color/cpp_default_background</item>
<item name="android:windowBackground">@color/cpp_main_bg</item>
<!-- buttons -->
<item name="cpp_digit_button_style">@style/cpp_default_digit_button_style</item>
@ -164,25 +139,6 @@
<item name="cpp_pane_style">@style/cpp_default_pane_style</item>
<item name="cpp_pane_style_transparent">@style/cpp_default_pane_style_transparent</item>
<!-- action bar-->
<!--<item name="actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
<item name="android:actionBarTabStyle">@style/cpp_default_actionbar_tab_style</item>
<item name="actionBarStyle">@style/cpp_default_actionbar_style</item>
<item name="android:actionBarStyle">@style/cpp_default_actionbar_style</item>
<item name="actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
<item name="android:actionModeCloseButtonStyle">@style/cpp_default_actionbar_close_button_style</item>
<item name="actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
<item name="android:actionBarItemBackground">@drawable/default_abs__item_background_holo_dark</item>
<item name="actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
<item name="android:actionDropDownStyle">@style/cpp_default_actionbar_dropdown_style</item>
<item name="dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>
<item name="android:dropDownListViewStyle">@style/cpp_default_actionbar_dropdown_listview_style</item>-->
</style>
<style name="cpp_gray_dialog_theme" parent="@style/Theme.AppCompat.Dialog">

View File

@ -47,43 +47,22 @@
<item name="android:padding">6dp</item>
</style>
<style name="metro_blue_fragment_list_view_item_style" parent="cpp_default_fragment_list_view_item_style">
<item name="background">@drawable/metro_blue_list_item</item>
<item name="android:background">@drawable/metro_blue_list_item</item>
</style>
<style name="metro_blue_actionbar_style" parent="@style/Widget.AppCompat.ActionBar">
<item name="background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
<item name="android:background">@drawable/metro_blue_abs__ab_transparent_dark_holo</item>
</style>
<style name="metro_blue_actionbar_tab_style" parent="cpp_default_actionbar_tab_style">
<item name="background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
<item name="android:background">@drawable/metro_blue_abs__tab_indicator_ab_holo</item>
</style>
<style name="cpp_metro_blue_theme" parent="cpp_gray_theme">
<item name="android:colorAccent">@color/cpp_metro_blue_color</item>
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
<item name="cpp_control_image_button_style">@style/metro_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/metro_blue_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_blue_fragment_list_view_item_style</item>
<!--action bar-->
<!-- <item name="actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
<item name="android:actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
<item name="actionBarStyle">@style/metro_blue_actionbar_style</item>
<item name="android:actionBarStyle">@style/metro_blue_actionbar_style</item>-->
</style>
<style name="cpp_metro_blue_dialog_theme" parent="cpp_gray_dialog_theme">
<item name="android:colorAccent">@color/cpp_metro_blue_color</item>
<item name="cpp_digit_button_style">@style/metro_digit_button_style</item>
<item name="cpp_control_button_style">@style/metro_control_button_style</item>
<item name="cpp_control_image_button_style">@style/metro_control_image_button_style</item>
<item name="cpp_operation_button_style">@style/metro_blue_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_blue_fragment_list_view_item_style</item>
</style>
</resources>

View File

@ -32,6 +32,8 @@
</style>
<style name="cpp_metro_green_theme" parent="cpp_metro_blue_theme">
<item name="android:colorAccent">@color/cpp_metro_green_color</item>
<item name="cpp_operation_button_style">@style/metro_green_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_green_fragment_list_view_item_style</item>
</style>

View File

@ -33,6 +33,8 @@
</style>
<style name="cpp_metro_purple_theme" parent="cpp_metro_blue_theme">
<item name="android:colorAccent">@color/cpp_metro_purple_color</item>
<item name="cpp_operation_button_style">@style/metro_purple_operation_button_style</item>
<item name="cpp_fragment_list_view_item_style">@style/metro_purple_fragment_list_view_item_style</item>
</style>