Fix lint issues

This commit is contained in:
serso
2016-03-23 21:32:51 +01:00
parent d6ea6c742f
commit 72b333681c
210 changed files with 394 additions and 2690 deletions

View File

@@ -28,5 +28,5 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="@string/c_clear"
app:directionTextUp="MC"
app:directionTextUp="@string/cpp_kb_memory_clear"
a:textStyle="bold"/>

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
-->
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_like"
style="?attr/cpp_button_style_control"
a:src="@drawable/ic_share_white_48dp" />

View File

@@ -1,24 +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
-->
<org.solovyev.android.views.dragbutton.DirectionDragButton style="?attr/cpp_button_style_control" />

View File

@@ -1,33 +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
-->
<org.solovyev.android.views.dragbutton.DirectionDragButton
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_equals"
style="?attr/cpp_button_style_control"
a:text="="
c:directionTextDown="@string/cpp_plot_button_text"
c:directionTextUp="≡"
tools:ignore="HardcodedText" />

View File

@@ -1,31 +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
-->
<org.solovyev.android.views.dragbutton.DirectionDragButton
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_operators"
style="?attr/cpp_button_style_control"
a:text="@string/cpp_kb_operators"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_0"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="0" />
a:text="0"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_0"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="0" />
a:text="0"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_0"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="0" />
a:text="0"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_1"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="1" />
a:text="1"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_1"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="1" />
a:text="1"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_1"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="1" />
a:text="1"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_2"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="2" />
a:text="2"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_2"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="2" />
a:text="2"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_2"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="2" />
a:text="2"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_3"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="3" />
a:text="3"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_3"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="3" />
a:text="3"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_3"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="3" />
a:text="3"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_4"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="4" />
a:text="4"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_4"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="4" />
a:text="4"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_4"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="4" />
a:text="4"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_5"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="5" />
a:text="5"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_5"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="5" />
a:text="5"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_5"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="5" />
a:text="5"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_6"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="6" />
a:text="6"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_6"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="6" />
a:text="6"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_6"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="6" />
a:text="6"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_7"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="7" />
a:text="7"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_7"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="7" />
a:text="7"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_7"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="7" />
a:text="7"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_8"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="8" />
a:text="8"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_8"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="8" />
a:text="8"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_8"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="8" />
a:text="8"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_9"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="9" />
a:text="9"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_9"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="9" />
a:text="9"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_9"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="9" />
a:text="9"
tools:ignore="HardcodedText" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_app"
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:contentDescription="App"
a:src="@drawable/ic_launch_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_app"
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:contentDescription="App"
a:src="@drawable/ic_launch_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_app"
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:contentDescription="App"
a:src="@drawable/ic_launch_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_copy"
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:contentDescription="Copy"
a:src="@drawable/ic_content_copy_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_copy"
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:contentDescription="Copy"
a:src="@drawable/ic_content_copy_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_copy"
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:contentDescription="Copy"
a:src="@drawable/ic_content_copy_white_48dp" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_division"
style="@style/CppKeyboardButton.Metro.Simple.Operation"
a:text="/" />
a:text="/"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_division"
style="@style/CppKeyboardButton.Material.Simple.Operation"
a:text="/" />
a:text="/"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_division"
style="@style/CppKeyboardButton.Material.Light.Simple.Operation"
a:text="/" />
a:text="/"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_period"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="." />
a:text="."
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_period"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="." />
a:text="."
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_period"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="." />
a:text="."
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_equals"
style="@style/CppKeyboardButton.Metro.Simple.NoBg"
a:text="=" />
a:text="="
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_equals"
style="@style/CppKeyboardButton.Material.Simple.NoBg"
a:text="=" />
a:text="="
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_equals"
style="@style/CppKeyboardButton.Material.Light.Simple.NoBg"
a:text="=" />
a:text="="
tools:ignore="HardcodedText" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_erase"
style="@style/CppKeyboardButton.Metro.Simple.Operation.Image"
a:contentDescription="Erase"
a:src="@drawable/ic_backspace_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_erase"
style="@style/CppKeyboardButton.Material.Simple.Control.Image.Highlighted"
a:contentDescription="Erase"
a:src="@drawable/ic_backspace_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_erase"
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image.Highlighted"
a:contentDescription="Erase"
a:src="@drawable/ic_backspace_white_48dp" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_multiplication"
style="@style/CppKeyboardButton.Metro.Simple.Operation"
a:text="×" />
a:text="×"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_multiplication"
style="@style/CppKeyboardButton.Material.Simple.Operation"
a:text="×" />
a:text="×"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_multiplication"
style="@style/CppKeyboardButton.Material.Light.Simple.Operation"
a:text="×" />
a:text="×"
tools:ignore="HardcodedText" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_paste"
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:contentDescription="Paste"
a:src="@drawable/ic_content_paste_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_paste"
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:contentDescription="Paste"
a:src="@drawable/ic_content_paste_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_paste"
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:contentDescription="Paste"
a:src="@drawable/ic_content_paste_white_48dp" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_percent"
style="@style/CppKeyboardButton.Metro.Simple.Control"
a:text="%" />
a:text="%"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_percent"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="%" />
a:text="%"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_percent"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="%" />
a:text="%"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_plus"
style="@style/CppKeyboardButton.Metro.Simple.Operation"
a:text="+" />
a:text="+"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_plus"
style="@style/CppKeyboardButton.Material.Simple.Operation"
a:text="+" />
a:text="+"
tools:ignore="HardcodedText" />

View File

@@ -23,6 +23,8 @@
-->
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_plus"
style="@style/CppKeyboardButton.Material.Light.Simple.Operation"
a:text="+" />
a:text="+"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_power"
style="@style/CppKeyboardButton.Metro.Simple.Control"
a:text="^" />
a:text="^"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_power"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="^" />
a:text="^"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_power"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="^" />
a:text="^"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_round_brackets"
style="@style/CppKeyboardButton.Metro.Simple.Digit"
a:text="( )" />
a:text="( )"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_round_brackets"
style="@style/CppKeyboardButton.Material.Simple.Digit"
a:text="( )" />
a:text="( )"
tools:ignore="HardcodedText" />

View File

@@ -24,6 +24,8 @@
<Button
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:id="@id/cpp_button_round_brackets"
style="@style/CppKeyboardButton.Material.Light.Simple.Digit"
a:text="( )" />
a:text="( )"
tools:ignore="HardcodedText" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_settings"
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:contentDescription="Settings"
a:src="@drawable/ic_settings_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_settings"
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:contentDescription="Settings"
a:src="@drawable/ic_settings_white_48dp" />

View File

@@ -26,5 +26,4 @@
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_settings"
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:contentDescription="Settings"
a:src="@drawable/ic_settings_white_48dp" />

View File

@@ -23,6 +23,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@@ -70,7 +71,7 @@
android:id="@+id/converter_edittext_from"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="From"
android:hint="@string/cpp_units_from"
android:inputType="numberDecimal"
android:singleLine="true" />
</android.support.design.widget.TextInputLayout>
@@ -101,9 +102,10 @@
android:editable="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:hint="To"
android:hint="@string/cpp_units_to"
android:inputType="none"
android:singleLine="true" />
android:singleLine="true"
tools:ignore="Deprecated" />
</android.support.design.widget.TextInputLayout>
<Spinner

View File

@@ -23,6 +23,7 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:gravity="center"
@@ -61,7 +62,8 @@
style="?attr/cpp_button_style_operation"
a:layout_width="@dimen/cpp_wizard_preview_button_size"
a:layout_height="@dimen/cpp_wizard_preview_button_size"
a:text="7" />
a:text="7"
tools:ignore="HardcodedText" />
</FrameLayout>
<TextView

View File

@@ -24,6 +24,7 @@
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:gravity="center"
@@ -52,6 +53,7 @@
a:layout_margin="0dp"
a:text="9"
c:directionTextDown="^2"
c:directionTextUp="%" />
c:directionTextUp="%"
tools:ignore="HardcodedText" />
</LinearLayout>

View File

@@ -1,47 +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
-->
<TabHost
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@android:id/tabhost"
a:layout_width="fill_parent"
a:layout_height="fill_parent">
<LinearLayout
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="vertical">
<TabWidget
a:id="@android:id/tabs"
a:layout_width="fill_parent"
a:layout_height="wrap_content" />
<FrameLayout
a:id="@android:id/tabcontent"
a:layout_width="fill_parent"
a:layout_height="fill_parent" />
</LinearLayout>
</TabHost>