Cleanup, some lint issues fixes

This commit is contained in:
serso
2015-02-19 11:23:07 +01:00
parent c4a5ee38ab
commit 423dcb6fbe
34 changed files with 33 additions and 456 deletions

View File

@@ -1,52 +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_green"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false"
a:drawable="@color/cpp_metro_green"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false"
a:drawable="@color/cpp_metro_green"/>
<!-- Pressed -->
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_green"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_green"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_green"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_green"/>
</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_purple"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false"
a:drawable="@color/cpp_metro_purple"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false"
a:drawable="@color/cpp_metro_purple"/>
<!-- Pressed -->
<!-- Non focused states -->
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_purple"/>
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_purple"/>
<!-- Focused states -->
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true"
a:drawable="@color/cpp_metro_purple"/>
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true"
a:drawable="@color/cpp_metro_purple"/>
</selector>