Lint issues

This commit is contained in:
serso 2015-02-09 16:11:26 +01:00
parent bc0e6d2344
commit 32e755d2fc
156 changed files with 1757 additions and 2168 deletions

View File

@ -13,6 +13,6 @@ public class ChooseThemeReleaseNoteFragment extends ChooseThemeWizardStep {
super.onViewCreated(root, savedInstanceState);
final TextView title = (TextView) root.findViewById(R.id.wizard_theme_title);
title.setText(R.string.release_notes_choose_theme);
title.setText(R.string.cpp_release_notes_choose_theme);
}
}

View File

@ -120,7 +120,7 @@ public class WizardActivity extends BaseActivity implements WizardsAware, Shared
}
final AlertDialog.Builder b = new AlertDialog.Builder(this);
b.setTitle(getString(R.string.wizard_finish_confirmation_title)).
b.setTitle(getString(R.string.cpp_wizard_finish_confirmation_title)).
setMessage(R.string.cpp_wizard_finish_confirmation).
setNegativeButton(R.string.c_no, dialogListener).
setPositiveButton(R.string.c_yes, dialogListener).

View File

@ -79,19 +79,19 @@ public abstract class WizardFragment extends Fragment implements View.OnClickLis
final boolean firstTimeWizard = TextUtils.equals(wizard.getName(), CalculatorWizards.FIRST_TIME_WIZARD);
if (canGoNext) {
if (canGoPrev || !firstTimeWizard) {
setupNextButton(R.string.acl_wizard_next);
setupNextButton(R.string.cpp_wizard_next);
} else {
setupNextButton(R.string.acl_wizard_start);
setupNextButton(R.string.cpp_wizard_start);
}
} else {
setupNextButton(R.string.acl_wizard_finish);
setupNextButton(R.string.cpp_wizard_finish);
}
if (canGoPrev) {
setupPrevButton(R.string.acl_wizard_back);
setupPrevButton(R.string.cpp_wizard_back);
} else {
if (firstTimeWizard) {
setupPrevButton(R.string.wizard_skip);
setupPrevButton(R.string.cpp_wizard_skip);
}
}

View File

@ -22,59 +22,62 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:layout_gravity="center">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center"
a:orientation="vertical">
<LinearLayout
a:id="@+id/editorContainer"
a:layout_weight="2"
a:layout_width="match_parent"
a:layout_height="0dp"/>
a:id="@+id/editorContainer"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="2"
a:orientation="horizontal" />
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:baselineAligned="false">
<include
layout="@layout/cpp_app_button_left"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"/>
layout="@layout/cpp_app_button_left"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
<include
layout="@layout/cpp_app_button_erase"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"/>
layout="@layout/cpp_app_button_erase"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
<FrameLayout
a:id="@+id/displayContainer"
a:layout_height="match_parent"
a:layout_width="0dp"
a:layout_weight="4"/>
a:id="@+id/displayContainer"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="4" />
<include
layout="@layout/cpp_app_button_clear"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"/>
layout="@layout/cpp_app_button_clear"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
<include
layout="@layout/cpp_app_button_right"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"/>
layout="@layout/cpp_app_button_right"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
</LinearLayout>
<LinearLayout
a:id="@+id/keyboardContainer"
a:layout_weight="3"
a:layout_width="match_parent"
a:layout_height="0dp"/>
a:id="@+id/keyboardContainer"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="3"
a:orientation="horizontal" />
</LinearLayout>

View File

@ -23,9 +23,9 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent">
a:layout_height="fill_parent"
a:orientation="vertical">
<ImageView
a:layout_width="wrap_content"
@ -47,27 +47,27 @@
<TextView
a:id="@+id/cpp_about_textview"
a:text="@string/c_about_content"
a:layout_height="match_parent"
style="@style/CppText.About"
a:layout_width="match_parent"
style="@style/CppText.About" />
a:layout_height="match_parent"
a:text="@string/c_about_content" />
<TextView
a:id="@+id/cpp_about_translators_text"
a:text="@string/cpp_translators_text"
a:layout_height="wrap_content"
style="@style/CppText.About"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:paddingBottom="0dp"
style="@style/CppText.About" />
a:text="@string/cpp_translators_text" />
<TextView
a:id="@+id/cpp_about_translators"
a:text="@string/cpp_translators_list"
a:layout_height="wrap_content"
style="@style/CppText.About"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:paddingTop="0dp"
style="@style/CppText.About" />
a:text="@string/cpp_translators_list" />
</LinearLayout>
</ScrollView>

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.AdView xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/ad"
<org.solovyev.android.calculator.AdView a:id="@+id/ad"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:layout_gravity="center"

View File

@ -22,12 +22,12 @@
~ Site: http://se.solovyev.org
-->
<com.google.android.gms.ads.AdView xmlns:a="http://schemas.android.com/apk/res/android"
<com.google.android.gms.ads.AdView a:id="@+id/admob"
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
a:id="@+id/admob"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:layout_gravity="center"
ads:adSize="BANNER"
a:visibility="gone"
ads:adUnitId="@string/admob" />
a:layout_gravity="center"
a:visibility="gone"
ads:adSize="BANNER"
ads:adUnitId="@string/admob" />

View File

@ -22,11 +22,11 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/plot_view_container"
a:orientation="vertical"
a:layout_width="fill_parent"
a:layout_height="fill_parent">
<LinearLayout a:id="@+id/plot_view_container"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="vertical">
</LinearLayout>

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/action_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
app:theme="?attr/cpp_toolbar_theme"/>
app:theme="?attr/cpp_toolbar_theme" />
<FrameLayout
android:id="@+id/content_wrapper"

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout style="@style/MaterialActivity"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:my="http://schemas.android.com/apk/res-auto"
style="@style/MaterialActivity"
android:padding="0dp"
android:orientation="vertical">
android:orientation="vertical"
android:padding="0dp">
<android.support.v4.view.ViewPager
android:id="@+id/pager"
@ -12,12 +12,12 @@
android:layout_weight="1" />
<com.viewpagerindicator.CirclePageIndicator
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:id="@+id/pager_indicator"
android:layout_height="wrap_content"
android:layout_width="match_parent"
my:radius="5dp"
my:fillColor="?attr/colorAccent"/>
android:layout_height="wrap_content"
android:paddingBottom="10dp"
android:paddingTop="10dp"
my:fillColor="?attr/colorAccent"
my:radius="5dp" />
</LinearLayout>

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_0"
c:textUp="00"
a:text="0"
c:textDown="000"
c:directionTextScale="0.5"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_0"
style="?attr/cpp_button_style_digit"
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:text="0"
c:directionTextScale="0.5"
c:textDown="000"
c:textUp="00"
tools:ignore="HardcodedText" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_1"
a:text="1"
c:textUp="sin"
c:textLeft="A"
c:textDown="asin"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_1"
style="?attr/cpp_button_style_digit"
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:text="1"
c:textDown="asin"
c:textLeft="A"
c:textUp="sin"
tools:ignore="HardcodedText" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_2"
a:text="2"
c:textUp="cos"
c:textLeft="B"
c:textDown="acos"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_2"
style="?attr/cpp_button_style_digit"
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:text="2"
c:textDown="acos"
c:textLeft="B"
c:textUp="cos"
tools:ignore="HardcodedText" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_3"
a:text="3"
c:textUp="tan"
c:textLeft="C"
c:textDown="atan"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_3"
style="?attr/cpp_button_style_digit"
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:text="3"
c:textDown="atan"
c:textLeft="C"
c:textUp="tan"
tools:ignore="HardcodedText" />

View File

@ -21,11 +21,14 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_4"
a:text="4"
c:textUp="x"
c:textLeft="D"
c:textDown="y"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_4"
style="?attr/cpp_button_style_digit"
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:text="4"
c:textDown="y"
c:textLeft="D"
c:textUp="x"
tools:ignore="HardcodedText" />

View File

@ -21,11 +21,14 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_5"
a:text="5"
c:textUp="t"
c:textLeft="E"
c:textDown="j"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_5"
style="?attr/cpp_button_style_digit"
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:text="5"
c:textDown="j"
c:textLeft="E"
c:textUp="t"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.view.AngleUnitsButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
c:textUp="deg"
a:id="@id/cpp_button_6"
a:text="6"
c:textLeft="F"
c:textDown="rad"
c:directionTextScale="0.33;0.30;0.33;0.33"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.view.AngleUnitsButton
a:id="@id/cpp_button_6"
style="?attr/cpp_button_style_digit"
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:text="6"
c:directionTextScale="0.33;0.30;0.33;0.33"
c:textDown="rad"
c:textLeft="F"
c:textUp="deg"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_7"
a:text="7"
c:textUp="i"
c:textLeft="0b:"
c:textDown="!"
c:directionTextScale="0.5;0.5;0.5;0.33"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_7"
style="?attr/cpp_button_style_digit"
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:text="7"
c:directionTextScale="0.5;0.5;0.5;0.33"
c:textDown="!"
c:textLeft="0b:"
c:textUp="i"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_8"
a:text="8"
c:textUp="ln"
c:textLeft="0d:"
c:textDown="lg"
c:directionTextScale="0.5;0.5;0.5;0.33"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_8"
style="?attr/cpp_button_style_digit"
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:text="8"
c:directionTextScale="0.5;0.5;0.5;0.33"
c:textDown="lg"
c:textLeft="0d:"
c:textUp="ln"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_9"
a:text="9"
c:textDown="e"
c:textLeft="0x:"
c:textUp="π"
c:directionTextScale="0.5;0.5;0.5;0.33"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_9"
style="?attr/cpp_button_style_digit"
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:text="9"
c:directionTextScale="0.5;0.5;0.5;0.33"
c:textDown="e"
c:textLeft="0x:"
c:textUp="π"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,13 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.view.NumeralBasesButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_clear"
c:textUp="dec"
a:text="@string/c_clear"
c:textDown="bin"
c:textLeft="hex"
a:textStyle="bold"
style="?attr/cpp_button_style_control_image"/>
<org.solovyev.android.calculator.view.NumeralBasesButton
a:id="@id/cpp_button_clear"
style="?attr/cpp_button_style_control_image"
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:text="@string/c_clear"
a:textStyle="bold"
c:textDown="bin"
c:textLeft="hex"
c:textUp="dec" />

View File

@ -22,7 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_copy"
a:src="@drawable/kb_copy"
style="?attr/cpp_button_style_control_image"/>
<ImageButton
a:id="@id/cpp_button_copy"
style="?attr/cpp_button_style_control_image"
xmlns:a="http://schemas.android.com/apk/res/android"
a:src="@drawable/kb_copy" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_division"
c:textUp="%"
a:text="/"
c:textDown="√"
c:directionTextScale="0.5"
style="?attr/cpp_button_style_operation"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_division"
style="?attr/cpp_button_style_operation"
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:text="/"
c:directionTextScale="0.5"
c:textDown="√"
c:textUp="%"
tools:ignore="HardcodedText" />

View File

@ -22,7 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_like"
a:src="@drawable/kb_share"
style="?attr/cpp_button_style_control_image"/>
<ImageButton
a:id="@id/cpp_button_like"
style="?attr/cpp_button_style_control_image"
xmlns:a="http://schemas.android.com/apk/res/android"
a:src="@drawable/kb_share" />

View File

@ -22,10 +22,13 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_period"
a:text="."
c:textUp=","
c:directionTextScale="0.5"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_period"
style="?attr/cpp_button_style_digit"
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:text="."
c:directionTextScale="0.5"
c:textUp=","
tools:ignore="HardcodedText" />

View File

@ -21,4 +21,4 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton style="?attr/cpp_button_style_control" />

View File

@ -21,11 +21,14 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_equals"
c:textUp="≡"
a:text="="
c:textDown="@string/cpp_plot_button_text"
c:directionTextScale="0.5;0.5;0.33;0.5"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_equals"
style="?attr/cpp_button_style_control"
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:text="="
c:directionTextScale="0.5;0.5;0.33;0.5"
c:textDown="@string/cpp_plot_button_text"
c:textUp="≡"
tools:ignore="HardcodedText" />

View File

@ -21,14 +21,17 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton a:id="@id/cpp_button_equals"
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_equals"
style="?attr/cpp_button_style_control"
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:background="@drawable/button_no_bg"
a:text="="
a:textColor="?android:attr/textColorPrimary"
c:directionTextColor="?android:attr/textColorPrimary"
c:directionTextScale="0.5;0.5;0.33;0.5"
c:textDown="@string/cpp_plot_button_text"
a:background="@drawable/button_no_bg"
c:textUp="≡" />
c:textUp="≡"
tools:ignore="HardcodedText" />

View File

@ -22,7 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_erase"
a:src="@drawable/kb_erase"
style="?attr/cpp_button_style_control_image"/>
<ImageButton
a:id="@id/cpp_button_erase"
style="?attr/cpp_button_style_control_image"
xmlns:a="http://schemas.android.com/apk/res/android"
a:src="@drawable/kb_erase" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_functions"
c:directionTextScale="0.4"
c:textUp="+ƒ"
a:text="ƒ(x)"
a:textStyle="italic"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_functions"
style="?attr/cpp_button_style_control"
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:text="ƒ(x)"
a:textStyle="italic"
c:directionTextScale="0.4"
c:textUp="+ƒ"
tools:ignore="HardcodedText" />

View File

@ -21,12 +21,13 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_history"
a:text="@string/c_history_button"
c:textUp="@string/c_undo"
c:textDown="@string/c_redo"
c:directionTextScale="0.27"
style="?attr/cpp_button_style_control"
a:textStyle="bold"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_history"
style="?attr/cpp_button_style_control"
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:text="@string/c_history_button"
a:textStyle="bold"
c:directionTextScale="0.27"
c:textDown="@string/c_redo"
c:textUp="@string/c_undo" />

View File

@ -22,10 +22,13 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_left"
c:textUp="◁◁"
a:text="◁"
c:directionTextScale="0.5"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_left"
style="?attr/cpp_button_style_control"
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:text="◁"
c:directionTextScale="0.5"
c:textUp="◁◁"
tools:ignore="HardcodedText" />

View File

@ -21,10 +21,13 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_subtraction"
c:textDown="∂,…"
a:text="-"
c:directionTextScale="0.4"
style="?attr/cpp_button_style_operation"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_subtraction"
style="?attr/cpp_button_style_operation"
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:text=""
c:directionTextScale="0.4"
c:textDown="∂,…"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_multiplication"
a:text="×"
c:textUp="^"
c:textDown="^2"
c:textLeft="Π"
style="?attr/cpp_button_style_operation"
c:directionTextScale="0.5"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_multiplication"
style="?attr/cpp_button_style_operation"
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:text="×"
c:directionTextScale="0.5"
c:textDown="^2"
c:textLeft="Π"
c:textUp="^"
tools:ignore="HardcodedText" />

View File

@ -22,7 +22,10 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_operators"
a:text="∂,…"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_operators"
style="?attr/cpp_button_style_control"
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:text="∂,…"
tools:ignore="HardcodedText" />

View File

@ -22,7 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_paste"
a:src="@drawable/kb_paste"
style="?attr/cpp_button_style_control_image"/>
<ImageButton
a:id="@id/cpp_button_paste"
style="?attr/cpp_button_style_control_image"
xmlns:a="http://schemas.android.com/apk/res/android"
a:src="@drawable/kb_paste" />

View File

@ -21,11 +21,14 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_plus"
c:directionTextScale="0.5"
c:textUp="°"
c:textDown="E"
a:text="+"
style="?attr/cpp_button_style_operation"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_plus"
style="?attr/cpp_button_style_operation"
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:text="+"
c:directionTextScale="0.5"
c:textDown="E"
c:textUp="°"
tools:ignore="HardcodedText" />

View File

@ -22,10 +22,13 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_right"
c:textUp="▷▷"
a:text="▷"
c:directionTextScale="0.5"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_right"
style="?attr/cpp_button_style_control"
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:text="▷"
c:directionTextScale="0.5"
c:textUp="▷▷"
tools:ignore="HardcodedText" />

View File

@ -22,12 +22,15 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_round_brackets"
c:textUp="("
a:text="( )"
c:textDown=")"
c:textLeft="(…)"
c:directionTextScale="0.5;0.5;0.5;0.33"
style="?attr/cpp_button_style_digit"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_round_brackets"
style="?attr/cpp_button_style_digit"
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:text="( )"
c:directionTextScale="0.5;0.5;0.5;0.33"
c:textDown=")"
c:textLeft="(…)"
c:textUp="("
tools:ignore="HardcodedText" />

View File

@ -22,11 +22,14 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:c="http://schemas.android.com/apk/res-auto"
a:id="@id/cpp_button_vars"
c:directionTextScale="0.4"
c:textUp="+π"
a:text="π,…"
a:textStyle="italic"
style="?attr/cpp_button_style_control"/>
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@id/cpp_button_vars"
style="?attr/cpp_button_style_control"
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:text="π,…"
a:textStyle="italic"
c:directionTextScale="0.4"
c:textUp="+π"
tools:ignore="HardcodedText" />

View File

@ -22,11 +22,12 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.AndroidCalculatorDisplayView xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/calculator_display"
style="@style/CppText.Display"
a:padding="@dimen/cpp_display_padding"
a:inputType="textMultiLine"
a:maxLines="3"
a:scrollHorizontally="false"
a:scrollbars="none"/>
<org.solovyev.android.calculator.AndroidCalculatorDisplayView
a:id="@+id/calculator_display"
style="@style/CppText.Display"
xmlns:a="http://schemas.android.com/apk/res/android"
a:inputType="textMultiLine"
a:maxLines="3"
a:padding="@dimen/cpp_display_padding"
a:scrollHorizontally="false"
a:scrollbars="none" />

View File

@ -22,11 +22,11 @@
~ Site: http://se.solovyev.org
-->
<org.solovyev.android.calculator.AndroidCalculatorDisplayView xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/calculator_display"
style="@style/CppText.Display"
a:padding="@dimen/cpp_display_padding"
a:inputType="textMultiLine"
a:maxLines="3"
a:scrollHorizontally="false"
a:scrollbars="none"/>
<org.solovyev.android.calculator.AndroidCalculatorDisplayView a:id="@+id/calculator_display"
style="@style/CppText.Display"
xmlns:a="http://schemas.android.com/apk/res/android"
a:inputType="textMultiLine"
a:maxLines="3"
a:padding="@dimen/cpp_display_padding"
a:scrollHorizontally="false"
a:scrollbars="none" />

View File

@ -22,19 +22,19 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:padding="@dimen/cpp_editor_padding">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:padding="@dimen/cpp_editor_padding">
<org.solovyev.android.calculator.AndroidCalculatorEditorView
a:id="@+id/calculator_editor"
style="@style/CppText.Editor"
a:textIsSelectable="true"
a:singleLine="false"
a:scrollbars="vertical"
a:hint="@string/c_calc_editor_hint"/>
a:id="@+id/calculator_editor"
style="@style/CppText.Editor"
a:hint="@string/c_calc_editor_hint"
a:scrollbars="vertical"
a:singleLine="false"
a:textIsSelectable="true" />
</LinearLayout>

View File

@ -22,19 +22,19 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:padding="@dimen/cpp_editor_padding">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:padding="@dimen/cpp_editor_padding">
<org.solovyev.android.calculator.AndroidCalculatorEditorView
a:id="@+id/calculator_editor"
style="@style/CppText.Editor.Mobile"
a:textIsSelectable="true"
a:singleLine="false"
a:scrollbars="vertical"
a:hint="@string/c_calc_editor_hint"/>
a:id="@+id/calculator_editor"
style="@style/CppText.Editor.Mobile"
a:hint="@string/c_calc_editor_hint"
a:scrollbars="vertical"
a:singleLine="false"
a:textIsSelectable="true" />
</LinearLayout>

View File

@ -23,93 +23,93 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_7"/>
<include layout="@layout/cpp_app_button_7" />
<include layout="@layout/cpp_app_button_8"/>
<include layout="@layout/cpp_app_button_8" />
<include layout="@layout/cpp_app_button_9"/>
<include layout="@layout/cpp_app_button_9" />
<include layout="@layout/cpp_app_button_multiplication"/>
<include layout="@layout/cpp_app_button_multiplication" />
<include layout="@layout/cpp_app_button_clear"/>
<include layout="@layout/cpp_app_button_clear" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_4"/>
<include layout="@layout/cpp_app_button_4" />
<include layout="@layout/cpp_app_button_5"/>
<include layout="@layout/cpp_app_button_5" />
<include layout="@layout/cpp_app_button_6"/>
<include layout="@layout/cpp_app_button_6" />
<include layout="@layout/cpp_app_button_division"/>
<include layout="@layout/cpp_app_button_division" />
<include layout="@layout/cpp_app_button_erase"/>
<include layout="@layout/cpp_app_button_erase" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_1"/>
<include layout="@layout/cpp_app_button_1" />
<include layout="@layout/cpp_app_button_2"/>
<include layout="@layout/cpp_app_button_2" />
<include layout="@layout/cpp_app_button_3"/>
<include layout="@layout/cpp_app_button_3" />
<include layout="@layout/cpp_app_button_plus"/>
<include layout="@layout/cpp_app_button_plus" />
<include layout="@layout/cpp_app_button_copy"/>
<include layout="@layout/cpp_app_button_copy" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_round_brackets"/>
<include layout="@layout/cpp_app_button_round_brackets" />
<include layout="@layout/cpp_app_button_0"/>
<include layout="@layout/cpp_app_button_0" />
<include layout="@layout/cpp_app_button_dot"/>
<include layout="@layout/cpp_app_button_dot" />
<include layout="@layout/cpp_app_button_minus"/>
<include layout="@layout/cpp_app_button_minus" />
<include layout="@layout/cpp_app_button_paste"/>
<include layout="@layout/cpp_app_button_paste" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_left"/>
<include layout="@layout/cpp_app_button_left" />
<include layout="@layout/cpp_app_button_right"/>
<include layout="@layout/cpp_app_button_right" />
<include layout="@layout/cpp_app_button_vars"/>
<include layout="@layout/cpp_app_button_vars" />
<include layout="@layout/cpp_app_button_functions"/>
<include layout="@layout/cpp_app_button_functions" />
<include layout="@layout/cpp_app_button_history"/>
<include layout="@layout/cpp_app_button_history" />
</LinearLayout>

View File

@ -23,93 +23,93 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_7"/>
<include layout="@layout/cpp_app_button_7" />
<include layout="@layout/cpp_app_button_8"/>
<include layout="@layout/cpp_app_button_8" />
<include layout="@layout/cpp_app_button_9"/>
<include layout="@layout/cpp_app_button_9" />
<include layout="@layout/cpp_app_button_multiplication"/>
<include layout="@layout/cpp_app_button_multiplication" />
<include layout="@layout/cpp_app_button_clear"/>
<include layout="@layout/cpp_app_button_clear" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_4"/>
<include layout="@layout/cpp_app_button_4" />
<include layout="@layout/cpp_app_button_5"/>
<include layout="@layout/cpp_app_button_5" />
<include layout="@layout/cpp_app_button_6"/>
<include layout="@layout/cpp_app_button_6" />
<include layout="@layout/cpp_app_button_division"/>
<include layout="@layout/cpp_app_button_division" />
<include layout="@layout/cpp_app_button_erase"/>
<include layout="@layout/cpp_app_button_erase" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_1"/>
<include layout="@layout/cpp_app_button_1" />
<include layout="@layout/cpp_app_button_2"/>
<include layout="@layout/cpp_app_button_2" />
<include layout="@layout/cpp_app_button_3"/>
<include layout="@layout/cpp_app_button_3" />
<include layout="@layout/cpp_app_button_plus"/>
<include layout="@layout/cpp_app_button_plus" />
<include layout="@layout/cpp_app_button_copy"/>
<include layout="@layout/cpp_app_button_copy" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_round_brackets"/>
<include layout="@layout/cpp_app_button_round_brackets" />
<include layout="@layout/cpp_app_button_0"/>
<include layout="@layout/cpp_app_button_0" />
<include layout="@layout/cpp_app_button_dot"/>
<include layout="@layout/cpp_app_button_dot" />
<include layout="@layout/cpp_app_button_minus"/>
<include layout="@layout/cpp_app_button_minus" />
<include layout="@layout/cpp_app_button_paste"/>
<include layout="@layout/cpp_app_button_paste" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_app_button_left"/>
<include layout="@layout/cpp_app_button_left" />
<include layout="@layout/cpp_app_button_right"/>
<include layout="@layout/cpp_app_button_right" />
<include layout="@layout/cpp_app_button_vars"/>
<include layout="@layout/cpp_app_button_vars" />
<include layout="@layout/cpp_app_button_functions"/>
<include layout="@layout/cpp_app_button_functions" />
<include layout="@layout/cpp_app_button_history"/>
<include layout="@layout/cpp_app_button_history" />
</LinearLayout>

View File

@ -22,9 +22,9 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/dialog_layout"
style="@style/CppDialog"
a:orientation="vertical">
<LinearLayout a:id="@+id/dialog_layout"
style="@style/CppDialog"
xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical">
</LinearLayout>

View File

@ -22,40 +22,40 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_gravity="center_horizontal"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<TextView
a:id="@+id/cpp_dialog_message_textview"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:maxLines="10"
a:scrollbars="vertical"/>
a:id="@+id/cpp_dialog_message_textview"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:maxLines="10"
a:scrollbars="vertical" />
<LinearLayout
a:layout_width="match_parent"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<Button
a:id="@+id/cpp_copy_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:orientation="horizontal">
a:layout_weight="1"
a:text="@string/c_copy"
a:visibility="gone" />
<Button
a:id="@+id/cpp_copy_button"
a:text="@string/c_copy"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:visibility="gone"/>
<Button
a:id="@+id/cpp_ok_button"
a:text="@string/ok"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"/>
a:id="@+id/cpp_ok_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/ok" />
</LinearLayout>

View File

@ -22,32 +22,32 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
style="@style/CppDialog">
<LinearLayout style="@style/CppDialog"
xmlns:a="http://schemas.android.com/apk/res/android">
<LinearLayout
a:id="@+id/cpp_fixable_messages_container"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="vertical"/>
a:id="@+id/cpp_fixable_messages_container"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="vertical" />
<CheckBox
a:id="@+id/cpp_do_not_show_fixable_messages_checkbox"
a:text="@string/do_not_show_messages_in_session"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_do_not_show_fixable_messages_checkbox"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/do_not_show_messages_in_session" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:gravity="center">
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:gravity="center"
a:orientation="horizontal">
<Button
a:id="@+id/close_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="@string/close"/>
a:id="@+id/close_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="@string/close" />
</LinearLayout>

View File

@ -23,24 +23,24 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:padding="6dp">
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:padding="6dp">
<TextView
a:id="@+id/cpp_fixable_messages_text_view"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="5"
a:layout_gravity="fill"
a:text="@+id/cpp_fixable_messages_text_view"/>
a:id="@+id/cpp_fixable_messages_text_view"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_gravity="fill"
a:layout_weight="5"
a:text="@+id/cpp_fixable_messages_text_view" />
<Button
a:id="@+id/cpp_fix_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="2"
a:text="@string/fix"/>
a:id="@+id/cpp_fix_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="2"
a:text="@string/fix" />
</LinearLayout>

View File

@ -22,19 +22,19 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent">
<TextView
a:id="@+id/fragment_title"
a:layout_height="wrap_content"
a:layout_width="match_parent"
style="@style/CppFragmentTitle"/>
a:id="@+id/fragment_title"
style="@style/CppFragmentTitle"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
<include layout="@layout/ad"/>
<include layout="@layout/ad" />
</LinearLayout>

View File

@ -23,36 +23,36 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<TextView
a:id="@+id/cpp_plot_function_expression_textview"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="3"/>
a:id="@+id/cpp_plot_function_expression_textview"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="3" />
<CheckBox
a:id="@+id/cpp_plot_function_pinned_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"/>
a:id="@+id/cpp_plot_function_pinned_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
<CheckBox
a:id="@+id/cpp_plot_function_visible_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"/>
a:id="@+id/cpp_plot_function_visible_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
<ImageButton
a:id="@+id/cpp_plot_function_settings_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:paddingTop="0dp"
a:paddingBottom="0dp"
a:scaleType="centerInside"
a:src="@drawable/kb_settings"/>
a:id="@+id/cpp_plot_function_settings_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:paddingBottom="0dp"
a:paddingTop="0dp"
a:scaleType="centerInside"
a:src="@drawable/kb_settings" />
</LinearLayout>

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/dialog_layout"
style="@style/CppDialog">
<LinearLayout a:id="@+id/dialog_layout"
style="@style/CppDialog"
xmlns:a="http://schemas.android.com/apk/res/android">
</LinearLayout>

View File

@ -22,63 +22,63 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="wrap_content"
a:layout_gravity="center_horizontal"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="wrap_content"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<include layout="@layout/ad"/>
<include layout="@layout/ad" />
<TextView
a:text="@string/cpp_plot_function_line_color_type"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_color_type" />
<Spinner
a:id="@+id/cpp_plot_function_line_color_type_spinner"
a:entries="@array/cpp_plot_line_color_type_names"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_function_line_color_type_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_color_type_names" />
<TextView
a:text="@string/cpp_plot_function_line_color"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_color" />
<Spinner
a:id="@+id/cpp_plot_function_line_color_spinner"
a:entries="@array/cpp_plot_line_color_names"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_function_line_color_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_color_names" />
<TextView
a:text="@string/cpp_plot_function_line_style"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_style" />
<Spinner
a:id="@+id/cpp_plot_function_line_style_spinner"
a:entries="@array/cpp_plot_line_style_names"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_function_line_style_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_style_names" />
<TextView
a:text="@string/cpp_plot_function_line_width"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_width" />
<SeekBar
a:id="@+id/cpp_plot_functions_line_width_seekbar"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_functions_line_width_seekbar"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
<Button
a:id="@+id/cpp_apply_button"
a:text="@string/cpp_apply"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_apply_button"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_apply" />
</LinearLayout>

View File

@ -22,44 +22,44 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent">
<include layout="@layout/ad"/>
<include layout="@layout/ad" />
<LinearLayout
a:layout_width="match_parent"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:orientation="horizontal">
a:layout_weight="3"
a:text="@string/cpp_function" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="3"
a:text="@string/cpp_function"/>
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_pinned" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_pinned"/>
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_visible" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_visible"/>
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"/>
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
</LinearLayout>
<ListView style="@style/CppListView"/>
<ListView style="@style/CppListView" />
</LinearLayout>

View File

@ -22,110 +22,110 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_gravity="center_horizontal"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<include layout="@layout/ad"/>
<include layout="@layout/ad" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:baselineAligned="false">
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:baselineAligned="false"
a:orientation="horizontal">
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:text="@string/cpp_plot_range_x_min"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_x_min" />
<EditText
a:id="@+id/cpp_plot_range_x_min_editext"
a:inputType="numberDecimal|numberSigned"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_range_x_min_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:text="@string/cpp_plot_range_x_max"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_x_max" />
<EditText
a:id="@+id/cpp_plot_range_x_max_editext"
a:inputType="numberDecimal|numberSigned"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_range_x_max_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
</LinearLayout>
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:baselineAligned="false">
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:baselineAligned="false"
a:orientation="horizontal">
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:text="@string/cpp_plot_range_y_min"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_y_min" />
<EditText
a:id="@+id/cpp_plot_range_y_min_editext"
a:inputType="numberDecimal|numberSigned"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_range_y_min_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:text="@string/cpp_plot_range_y_max"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_y_max" />
<EditText
a:id="@+id/cpp_plot_range_y_max_editext"
a:inputType="numberDecimal|numberSigned"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_plot_range_y_max_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
</LinearLayout>
<Button
a:id="@+id/cpp_apply_button"
a:text="@string/cpp_apply"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_apply_button"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_apply" />
</LinearLayout>

View File

@ -22,26 +22,26 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_gravity="center_horizontal"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<TextView
a:id="@+id/cpp_purchase_text"
a:text="@string/cpp_purchase_text"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:maxLines="10"
a:scrollbars="vertical"/>
a:id="@+id/cpp_purchase_text"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:maxLines="10"
a:scrollbars="vertical"
a:text="@string/cpp_purchase_text" />
<Button
a:id="@+id/cpp_continue_button"
a:text="@string/cpp_continue"
a:layout_width="match_parent"
a:layout_height="wrap_content"/>
a:id="@+id/cpp_continue_button"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_continue" />
</LinearLayout>

View File

@ -25,21 +25,21 @@
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:gravity="center">
a:gravity="center"
a:orientation="vertical">
<TextView
style="@style/WizardLabel"
a:id="@+id/release_note_title"
a:layout_height="wrap_content"
style="@style/WizardLabel"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:textAppearance="@android:style/TextAppearance.Large" />
<TextView
style="@style/WizardLabel.Last"
a:id="@+id/release_note_message"
a:layout_height="wrap_content"
style="@style/WizardLabel.Last"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:textAppearance="@android:style/TextAppearance.Medium" />
</LinearLayout>

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_0"
a:text="0"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_0"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="0" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_1"
a:text="1"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_1"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="1" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_2"
a:text="2"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_2"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="2" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_3"
a:text="3"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_3"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="3" />

View File

@ -21,7 +21,7 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_4"
a:text="4"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_4"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="4" />

View File

@ -21,7 +21,7 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_5"
a:text="5"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_5"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="5" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_6"
a:text="6"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_6"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="6" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_7"
a:text="7"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_7"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="7" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_8"
a:text="8"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_8"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="8" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_9"
a:text="9"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_9"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="9" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_app"
a:src="@drawable/kb_logo"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="App"/>
<ImageButton a:id="@id/cpp_button_app"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="App"
a:src="@drawable/kb_logo" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_clear"
a:text="@string/c_clear"
a:textStyle="bold"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_clear"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="@string/c_clear"
a:textStyle="bold" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_copy"
a:src="@drawable/kb_copy"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="Copy"/>
<ImageButton a:id="@id/cpp_button_copy"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Copy"
a:src="@drawable/kb_copy" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_division"
a:text="/"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_division"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="/" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_period"
a:text="."
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_period"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="." />

View File

@ -21,7 +21,7 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_equals"
a:text="="
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_equals"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="=" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_erase"
a:src="@drawable/kb_erase"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="Erase"/>
<ImageButton a:id="@id/cpp_button_erase"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Erase"
a:src="@drawable/kb_erase" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_functions"
a:text="ƒ(x)"
a:textStyle="italic"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_functions"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="ƒ(x)"
a:textStyle="italic" />

View File

@ -21,8 +21,8 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_history"
a:text="@string/c_history_button"
style="@style/cpp_simple_metro_control_button_style"
a:textStyle="bold"/>
<Button a:id="@id/cpp_button_history"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="@string/c_history_button"
a:textStyle="bold" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_left"
a:text="◁"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_left"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="◁" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_like"
a:src="@drawable/kb_share"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="Like"/>
<ImageButton a:id="@id/cpp_button_like"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Like"
a:src="@drawable/kb_share" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_multiplication"
a:text="×"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_multiplication"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="×" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_operators"
a:text="∂,…"
a:textStyle="italic"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_operators"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="∂,…"
a:textStyle="italic" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_paste"
a:src="@drawable/kb_paste"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="Paste"/>
<ImageButton a:id="@id/cpp_button_paste"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Paste"
a:src="@drawable/kb_paste" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_percent"
a:text="%"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_percent"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="%" />

View File

@ -21,7 +21,7 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_plus"
a:text="+"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_plus"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="+" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_power"
a:text="^"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_power"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="^" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_right"
a:text="▷"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_right"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="▷" />

View File

@ -22,7 +22,7 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_round_brackets"
a:text="( )"
style="@style/cpp_simple_metro_digit_button_style"/>
<Button a:id="@id/cpp_button_round_brackets"
style="@style/cpp_simple_metro_digit_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="( )" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<ImageButton xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_settings"
a:src="@drawable/kb_settings"
style="@style/cpp_simple_metro_control_image_button_style"
a:contentDescription="Settings"/>
<ImageButton a:id="@id/cpp_button_settings"
style="@style/cpp_simple_metro_control_image_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:contentDescription="Settings"
a:src="@drawable/kb_settings" />

View File

@ -21,7 +21,7 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_subtraction"
a:text="-"
style="@style/cpp_simple_metro_blue_operation_button_style"/>
<Button a:id="@id/cpp_button_subtraction"
style="@style/cpp_simple_metro_blue_operation_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="-" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_vars"
a:text="π,…"
a:textStyle="italic"
style="@style/cpp_simple_metro_control_button_style"/>
<Button a:id="@id/cpp_button_vars"
style="@style/cpp_simple_metro_control_button_style"
xmlns:a="http://schemas.android.com/apk/res/android"
a:text="π,…"
a:textStyle="italic" />

View File

@ -23,103 +23,103 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_7"/>
<include layout="@layout/cpp_simple_button_7" />
<include layout="@layout/cpp_simple_button_8"/>
<include layout="@layout/cpp_simple_button_8" />
<include layout="@layout/cpp_simple_button_9"/>
<include layout="@layout/cpp_simple_button_9" />
<include layout="@layout/cpp_simple_button_multiplication"/>
<include layout="@layout/cpp_simple_button_multiplication" />
<include layout="@layout/cpp_simple_button_percent"/>
<include layout="@layout/cpp_simple_button_percent" />
<include layout="@layout/cpp_simple_button_clear"/>
<include layout="@layout/cpp_simple_button_clear" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_4"/>
<include layout="@layout/cpp_simple_button_4" />
<include layout="@layout/cpp_simple_button_5"/>
<include layout="@layout/cpp_simple_button_5" />
<include layout="@layout/cpp_simple_button_6"/>
<include layout="@layout/cpp_simple_button_6" />
<include layout="@layout/cpp_simple_button_division"/>
<include layout="@layout/cpp_simple_button_division" />
<include layout="@layout/cpp_simple_button_power"/>
<include layout="@layout/cpp_simple_button_power" />
<include layout="@layout/cpp_simple_button_erase"/>
<include layout="@layout/cpp_simple_button_erase" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_1"/>
<include layout="@layout/cpp_simple_button_1" />
<include layout="@layout/cpp_simple_button_2"/>
<include layout="@layout/cpp_simple_button_2" />
<include layout="@layout/cpp_simple_button_3"/>
<include layout="@layout/cpp_simple_button_3" />
<include layout="@layout/cpp_simple_button_plus"/>
<include layout="@layout/cpp_simple_button_plus" />
<include layout="@layout/cpp_simple_button_settings"/>
<include layout="@layout/cpp_simple_button_settings" />
<include layout="@layout/cpp_simple_button_copy"/>
<include layout="@layout/cpp_simple_button_copy" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_round_brackets"/>
<include layout="@layout/cpp_simple_button_round_brackets" />
<include layout="@layout/cpp_simple_button_0"/>
<include layout="@layout/cpp_simple_button_0" />
<include layout="@layout/cpp_simple_button_dot"/>
<include layout="@layout/cpp_simple_button_dot" />
<include layout="@layout/cpp_simple_button_subtraction"/>
<include layout="@layout/cpp_simple_button_subtraction" />
<include layout="@layout/cpp_simple_button_app"/>
<include layout="@layout/cpp_simple_button_app" />
<include layout="@layout/cpp_simple_button_paste"/>
<include layout="@layout/cpp_simple_button_paste" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_left"/>
<include layout="@layout/cpp_simple_button_left" />
<include layout="@layout/cpp_simple_button_right"/>
<include layout="@layout/cpp_simple_button_right" />
<include layout="@layout/cpp_simple_button_vars"/>
<include layout="@layout/cpp_simple_button_vars" />
<include layout="@layout/cpp_simple_button_functions"/>
<include layout="@layout/cpp_simple_button_functions" />
<include layout="@layout/cpp_simple_button_operators"/>
<include layout="@layout/cpp_simple_button_operators" />
<include layout="@layout/cpp_simple_button_history"/>
<include layout="@layout/cpp_simple_button_history" />
</LinearLayout>

View File

@ -23,83 +23,83 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_7"/>
<include layout="@layout/cpp_simple_button_7" />
<include layout="@layout/cpp_simple_button_8"/>
<include layout="@layout/cpp_simple_button_8" />
<include layout="@layout/cpp_simple_button_9"/>
<include layout="@layout/cpp_simple_button_9" />
<include layout="@layout/cpp_simple_button_multiplication"/>
<include layout="@layout/cpp_simple_button_multiplication" />
<include layout="@layout/cpp_simple_button_percent"/>
<include layout="@layout/cpp_simple_button_percent" />
<include layout="@layout/cpp_simple_button_clear"/>
<include layout="@layout/cpp_simple_button_clear" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_4"/>
<include layout="@layout/cpp_simple_button_4" />
<include layout="@layout/cpp_simple_button_5"/>
<include layout="@layout/cpp_simple_button_5" />
<include layout="@layout/cpp_simple_button_6"/>
<include layout="@layout/cpp_simple_button_6" />
<include layout="@layout/cpp_simple_button_division"/>
<include layout="@layout/cpp_simple_button_division" />
<include layout="@layout/cpp_simple_button_power"/>
<include layout="@layout/cpp_simple_button_power" />
<include layout="@layout/cpp_simple_button_erase"/>
<include layout="@layout/cpp_simple_button_erase" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_1"/>
<include layout="@layout/cpp_simple_button_1" />
<include layout="@layout/cpp_simple_button_2"/>
<include layout="@layout/cpp_simple_button_2" />
<include layout="@layout/cpp_simple_button_3"/>
<include layout="@layout/cpp_simple_button_3" />
<include layout="@layout/cpp_simple_button_plus"/>
<include layout="@layout/cpp_simple_button_plus" />
<include layout="@layout/cpp_simple_button_left"/>
<include layout="@layout/cpp_simple_button_left" />
<include layout="@layout/cpp_simple_button_copy"/>
<include layout="@layout/cpp_simple_button_copy" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_round_brackets"/>
<include layout="@layout/cpp_simple_button_round_brackets" />
<include layout="@layout/cpp_simple_button_0"/>
<include layout="@layout/cpp_simple_button_0" />
<include layout="@layout/cpp_simple_button_dot"/>
<include layout="@layout/cpp_simple_button_dot" />
<include layout="@layout/cpp_simple_button_subtraction"/>
<include layout="@layout/cpp_simple_button_subtraction" />
<include layout="@layout/cpp_simple_button_right"/>
<include layout="@layout/cpp_simple_button_right" />
<include layout="@layout/cpp_simple_button_paste"/>
<include layout="@layout/cpp_simple_button_paste" />
</LinearLayout>
</LinearLayout>

View File

@ -23,64 +23,64 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_7"/>
<include layout="@layout/cpp_simple_button_7" />
<include layout="@layout/cpp_simple_button_8"/>
<include layout="@layout/cpp_simple_button_8" />
<include layout="@layout/cpp_simple_button_9"/>
<include layout="@layout/cpp_simple_button_9" />
<include layout="@layout/cpp_simple_button_multiplication"/>
<include layout="@layout/cpp_simple_button_multiplication" />
<include layout="@layout/cpp_simple_button_plus"/>
<include layout="@layout/cpp_simple_button_plus" />
<include layout="@layout/cpp_simple_button_clear"/>
<include layout="@layout/cpp_simple_button_clear" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_4"/>
<include layout="@layout/cpp_simple_button_4" />
<include layout="@layout/cpp_simple_button_5"/>
<include layout="@layout/cpp_simple_button_5" />
<include layout="@layout/cpp_simple_button_6"/>
<include layout="@layout/cpp_simple_button_6" />
<include layout="@layout/cpp_simple_button_division"/>
<include layout="@layout/cpp_simple_button_division" />
<include layout="@layout/cpp_simple_button_subtraction"/>
<include layout="@layout/cpp_simple_button_subtraction" />
<include layout="@layout/cpp_simple_button_erase"/>
<include layout="@layout/cpp_simple_button_erase" />
</LinearLayout>
<LinearLayout
a:layout_weight="1"
a:layout_width="match_parent"
a:layout_height="0dp">
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1">
<include layout="@layout/cpp_simple_button_1"/>
<include layout="@layout/cpp_simple_button_1" />
<include layout="@layout/cpp_simple_button_2"/>
<include layout="@layout/cpp_simple_button_2" />
<include layout="@layout/cpp_simple_button_3"/>
<include layout="@layout/cpp_simple_button_3" />
<include layout="@layout/cpp_simple_button_0"/>
<include layout="@layout/cpp_simple_button_0" />
<include layout="@layout/cpp_simple_button_percent"/>
<include layout="@layout/cpp_simple_button_percent" />
<include layout="@layout/cpp_simple_button_dot"/>
<include layout="@layout/cpp_simple_button_dot" />
</LinearLayout>
</LinearLayout>

View File

@ -23,87 +23,87 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:paddingLeft="10dp"
a:paddingRight="10dp"
a:orientation="vertical">
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="vertical"
a:paddingLeft="10dp"
a:paddingRight="10dp">
<LinearLayout
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:paddingBottom="10dp"
a:orientation="horizontal">
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="horizontal"
a:paddingBottom="10dp">
<Spinner
a:id="@+id/unit_types_from"
a:layout_width="wrap_content"
a:layout_height="fill_parent"/>
a:id="@+id/unit_types_from"
a:layout_width="wrap_content"
a:layout_height="fill_parent" />
<EditText
a:id="@+id/units_from"
a:inputType="text"
a:singleLine="true"
a:layout_width="fill_parent"
a:layout_height="fill_parent"/>
a:id="@+id/units_from"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:inputType="text"
a:singleLine="true" />
</LinearLayout>
<LinearLayout
a:layout_width="fill_parent"
a:paddingBottom="10dp"
a:layout_height="fill_parent"
a:orientation="horizontal">
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:orientation="horizontal"
a:paddingBottom="10dp">
<Spinner
a:id="@+id/unit_types_to"
a:layout_width="wrap_content"
a:layout_height="fill_parent"/>
a:id="@+id/unit_types_to"
a:layout_width="wrap_content"
a:layout_height="fill_parent" />
<EditText
a:id="@+id/units_to"
a:editable="false"
a:inputType="none"
a:singleLine="true"
a:layout_width="fill_parent"
a:layout_height="fill_parent"/>
a:id="@+id/units_to"
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:editable="false"
a:inputType="none"
a:singleLine="true" />
</LinearLayout>
<LinearLayout
a:layout_width="fill_parent"
a:paddingBottom="10dp"
a:layout_height="fill_parent"
a:gravity="center"
a:orientation="horizontal">
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:gravity="center"
a:orientation="horizontal"
a:paddingBottom="10dp">
<Button
a:id="@+id/unit_converter_ok_button"
a:text="@android:string/ok"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
a:id="@+id/unit_converter_ok_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:text="@android:string/ok" />
<Button
a:id="@+id/unit_converter_copy_button"
a:text="@android:string/copy"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
a:id="@+id/unit_converter_copy_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true"
a:text="@android:string/copy" />
<Button
a:id="@+id/unit_converter_custom_button"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:ellipsize="end"
a:singleLine="true"
a:layout_width="wrap_content"
a:layout_height="wrap_content"/>
a:id="@+id/unit_converter_custom_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:ellipsize="end"
a:paddingLeft="15dp"
a:paddingRight="15dp"
a:singleLine="true" />
</LinearLayout>

View File

@ -23,12 +23,13 @@
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical"
a:layout_width="match_parent"
a:layout_height="match_parent">
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<WebView a:id="@+id/cpp_wiki_webview"
a:layout_width="match_parent"
a:layout_height="match_parent"/>
<WebView
a:id="@+id/cpp_wiki_webview"
a:layout_width="match_parent"
a:layout_height="match_parent" />
</LinearLayout>

View File

@ -22,43 +22,43 @@
~ Site: http://se.solovyev.org
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/wizard_layout"
<LinearLayout a:id="@+id/wizard_layout"
style="@style/CppDialog"
xmlns:a="http://schemas.android.com/apk/res/android"
a:orientation="vertical">
<FrameLayout
a:orientation="vertical"
a:id="@id/acl_wizard_content"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:padding="6dp"
a:gravity="center" />
a:gravity="center"
a:orientation="vertical"
a:padding="6dp" />
<LinearLayout
a:orientation="horizontal"
a:layout_width="match_parent"
a:layout_height="wrap_content">
a:layout_height="wrap_content"
a:orientation="horizontal">
<Button
a:id="@id/acl_wizard_prev_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:singleLine="true"
a:lines="1"
a:maxLines="1"
a:singleLine="true"
a:text="@string/cpp_wizard_back" />
<Button
a:id="@id/acl_wizard_next_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:singleLine="true"
a:lines="1"
a:maxLines="1"
a:singleLine="true"
a:text="@string/cpp_wizard_next" />
</LinearLayout>

View File

@ -25,27 +25,26 @@
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:gravity="center">
a:gravity="center"
a:orientation="vertical">
<TextView
style="@style/WizardLabel"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:textAppearance="@android:style/TextAppearance.Large"
style="@style/WizardLabel"
a:text="@string/cpp_wizard_layout_title" />
a:text="@string/cpp_wizard_layout_title"
a:textAppearance="@android:style/TextAppearance.Large" />
<Spinner
a:id="@+id/wizard_layout_spinner"
style="@style/WizardLabel"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
style="@style/WizardLabel" />
a:layout_height="wrap_content" />
<ImageView
a:id="@+id/wizard_layout_image"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
style="@style/WizardLabel.Last"
/>
a:layout_width="wrap_content"
a:layout_height="wrap_content" />
</LinearLayout>

View File

@ -26,51 +26,51 @@
xmlns:c="http://schemas.android.com/apk/res-auto"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:gravity="center">
a:gravity="center"
a:orientation="vertical">
<TextView
style="@style/WizardLabel"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:textAppearance="@android:style/TextAppearance.Large"
style="@style/WizardLabel"
a:layout_marginBottom="20dp"
a:text="@string/cpp_wizard_mode_title" />
a:text="@string/cpp_wizard_mode_title"
a:textAppearance="@android:style/TextAppearance.Large" />
<Spinner
a:id="@+id/wizard_mode_spinner"
style="@style/WizardLabel"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_marginBottom="20dp"
style="@style/WizardLabel" />
a:layout_marginBottom="20dp" />
<LinearLayout
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:orientation="vertical"
a:gravity="center_horizontal|top">
a:gravity="center_horizontal|top"
a:orientation="vertical">
<FrameLayout
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:padding="3dp"
a:layout_marginBottom="10dp"
a:background="?attr/cpp_main_bg">
a:background="?attr/cpp_main_bg"
a:padding="3dp">
<org.solovyev.android.calculator.drag.DirectionDragButton
a:id="@+id/wizard_mode_button"
a:text="7"
c:directionTextScale="0.5"
style="?attr/cpp_button_style_operation"
a:layout_width="100dp"
a:layout_height="100dp"
style="?attr/cpp_button_style_operation" />
a:text="7"
c:directionTextScale="0.5" />
</FrameLayout>
<TextView
a:id="@+id/wizard_mode_description"
style="@style/WizardLabel.Last"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
style="@style/WizardLabel.Last" />
a:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>

View File

@ -25,29 +25,28 @@
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:gravity="center">
a:gravity="center"
a:orientation="vertical">
<TextView
a:layout_width="wrap_content"
a:id="@+id/wizard_theme_title"
a:layout_height="wrap_content"
a:textAppearance="@android:style/TextAppearance.Large"
style="@style/WizardLabel"
a:text="@string/cpp_wizard_theme_title" />
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="@string/cpp_wizard_theme_title"
a:textAppearance="@android:style/TextAppearance.Large" />
<Spinner
a:id="@+id/wizard_theme_spinner"
style="@style/WizardLabel"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
style="@style/WizardLabel" />
a:layout_height="wrap_content" />
<FrameLayout
a:id="@+id/wizard_theme_preview"
style="@style/WizardLabel.Last"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
style="@style/WizardLabel.Last"
a:orientation="vertical"
/>
a:orientation="vertical" />
</LinearLayout>

View File

@ -25,10 +25,10 @@
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:background="?attr/cpp_main_bg"
a:minWidth="200dp"
a:orientation="vertical"
a:padding="3dp"
a:background="?attr/cpp_main_bg">
a:padding="3dp">
<LinearLayout
a:layout_width="match_parent"
@ -38,11 +38,11 @@
<include layout="@layout/cpp_app_button_equals_no_bg" />
<TextView
style="@style/CppText.Display"
a:layout_width="0dp"
a:layout_height="match_parent"
style="@style/CppText.Display"
a:text="3.1415"
a:layout_weight="2"/>
a:layout_weight="2"
a:text="3.1415" />
</LinearLayout>

Some files were not shown because too many files have changed in this diff Show More