diff --git a/android-app/src/main/java/org/solovyev/android/calculator/wizard/OnScreenCalculatorWizardStep.java b/android-app/src/main/java/org/solovyev/android/calculator/wizard/OnScreenCalculatorWizardStep.java index 456b0102..0f7aceac 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/wizard/OnScreenCalculatorWizardStep.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/wizard/OnScreenCalculatorWizardStep.java @@ -23,18 +23,16 @@ package org.solovyev.android.calculator.wizard; import android.os.Bundle; -import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; - import org.solovyev.android.calculator.Preferences; import org.solovyev.android.calculator.R; import javax.annotation.Nullable; -public class OnScreenCalculatorWizardStep extends Fragment { +public class OnScreenCalculatorWizardStep extends WizardFragment { /* ********************************************************************** @@ -74,7 +72,15 @@ public class OnScreenCalculatorWizardStep extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - return inflater.inflate(R.layout.cpp_wizard_step_onscreen, null); + final View view = super.onCreateView(inflater, container, savedInstanceState); + setupNextButton(R.string.acl_wizard_next); + setupPrevButton(R.string.acl_wizard_back); + return view; + } + + @Override + protected int getViewResId() { + return R.layout.cpp_wizard_step_onscreen; } @Override diff --git a/android-app/src/main/res/drawable-xxhdpi/logo_wizard_window.png b/android-app/src/main/res/drawable-xxhdpi/logo_wizard_window.png new file mode 100644 index 00000000..d8029065 Binary files /dev/null and b/android-app/src/main/res/drawable-xxhdpi/logo_wizard_window.png differ diff --git a/android-app/src/main/res/layout/cpp_wizard_step_choose_mode.xml b/android-app/src/main/res/layout/cpp_wizard_step_choose_mode.xml index e0300a4c..bea3c9ef 100644 --- a/android-app/src/main/res/layout/cpp_wizard_step_choose_mode.xml +++ b/android-app/src/main/res/layout/cpp_wizard_step_choose_mode.xml @@ -33,21 +33,18 @@ a:layout_height="wrap_content" a:textAppearance="@android:style/TextAppearance.Large" style="@style/WizardLabel" - a:text="Choose mode" - a:layout_marginBottom="40dp" /> + a:text="Choose mode"/> + style="@style/WizardLabel"/> + style="@style/WizardLabel"/> diff --git a/android-app/src/main/res/layout/cpp_wizard_step_onscreen.xml b/android-app/src/main/res/layout/cpp_wizard_step_onscreen.xml index a1a7f108..a05daeb7 100644 --- a/android-app/src/main/res/layout/cpp_wizard_step_onscreen.xml +++ b/android-app/src/main/res/layout/cpp_wizard_step_onscreen.xml @@ -23,19 +23,23 @@ --> + a:layout_width="match_parent" + a:layout_height="match_parent" + a:gravity="center" + a:orientation="vertical"> + a:drawableTop="@drawable/logo_wizard_window" + a:text="@string/cpp_wizard_onscreen_description" + a:layout_height="wrap_content" + a:layout_width="wrap_content" + style="@style/WizardLabel" /> + a:id="@+id/wizard_onscreen_app_enabled_checkbox" + a:layout_height="wrap_content" + a:layout_width="wrap_content" + a:text="@string/cpp_wizard_onscreen_checkbox" + style="@style/WizardLabel" /> diff --git a/android-app/src/main/res/values-ru/text_wizard.xml b/android-app/src/main/res/values-ru/text_wizard.xml index e2a1c51f..c44f2fbb 100644 --- a/android-app/src/main/res/values-ru/text_wizard.xml +++ b/android-app/src/main/res/values-ru/text_wizard.xml @@ -30,7 +30,7 @@ Перевести язык Поучавствовать в разработке Калькулятор в отдельном окне позволяет вам произодить вычисления не закрывая при этом другие приложения - Включить калькулятор в отдельном окне (вторая иконка появится в списке приложений) + Включить Специально разработанные кнопки позволяют быстро и просто использовать дополнительные возможности калькулятора Вы действительно хотите завершить визард? diff --git a/android-app/src/main/res/values/styles.xml b/android-app/src/main/res/values/styles.xml index f34b171c..732a5360 100644 --- a/android-app/src/main/res/values/styles.xml +++ b/android-app/src/main/res/values/styles.xml @@ -150,6 +150,7 @@ wrap_content center 40dp + 40dp center @android:style/TextAppearance.Medium diff --git a/android-app/src/main/res/values/text_wizard.xml b/android-app/src/main/res/values/text_wizard.xml index f0f63cb5..4b895384 100644 --- a/android-app/src/main/res/values/text_wizard.xml +++ b/android-app/src/main/res/values/text_wizard.xml @@ -41,9 +41,7 @@ Calculator in separate window allows you to do calculations while using other apps on your device - Enable calculator in separate window (second icon will appear in the - apps list) - + Enable Drag button is an exclusive feature of Calculator++ which provides fast access to the secondary functions