diff --git a/android-app/src/main/java/org/solovyev/android/calculator/Preferences.java b/android-app/src/main/java/org/solovyev/android/calculator/Preferences.java index 9d31e773..e6090643 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/Preferences.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/Preferences.java @@ -168,6 +168,10 @@ public final class Preferences { } return textColor; } + + public boolean isLight() { + return themeId == R.style.Cpp_Theme_Material_Light; + } } public static final class TextColor { diff --git a/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinalWizardStep.java b/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinalWizardStep.java index c9458a49..645c05ab 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinalWizardStep.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/wizard/FinalWizardStep.java @@ -1,5 +1,9 @@ package org.solovyev.android.calculator.wizard; +import android.os.Bundle; +import android.view.View; +import android.widget.TextView; +import org.solovyev.android.calculator.App; import org.solovyev.android.calculator.R; public class FinalWizardStep extends WizardFragment { @@ -8,4 +12,13 @@ public class FinalWizardStep extends WizardFragment { protected int getViewResId() { return R.layout.cpp_wizard_step_final; } + + @Override + public void onViewCreated(View view, Bundle savedInstanceState) { + super.onViewCreated(view, savedInstanceState); + if (App.getTheme().isLight()) { + final TextView message = (TextView) view.findViewById(R.id.wizard_final_message); + message.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.ic_action_done_blue, 0, 0); + } + } } diff --git a/android-app/src/main/res/drawable-hdpi/ic_action_done_blue.png b/android-app/src/main/res/drawable-hdpi/ic_action_done_blue.png new file mode 100644 index 00000000..8594602d Binary files /dev/null and b/android-app/src/main/res/drawable-hdpi/ic_action_done_blue.png differ diff --git a/android-app/src/main/res/drawable-mdpi/ic_action_done_blue.png b/android-app/src/main/res/drawable-mdpi/ic_action_done_blue.png new file mode 100644 index 00000000..a5d72b9c Binary files /dev/null and b/android-app/src/main/res/drawable-mdpi/ic_action_done_blue.png differ diff --git a/android-app/src/main/res/drawable-xhdpi/ic_action_done_blue.png b/android-app/src/main/res/drawable-xhdpi/ic_action_done_blue.png new file mode 100644 index 00000000..8752bc08 Binary files /dev/null and b/android-app/src/main/res/drawable-xhdpi/ic_action_done_blue.png differ diff --git a/android-app/src/main/res/drawable-xxhdpi/ic_action_done_blue.png b/android-app/src/main/res/drawable-xxhdpi/ic_action_done_blue.png new file mode 100644 index 00000000..ab2c2121 Binary files /dev/null and b/android-app/src/main/res/drawable-xxhdpi/ic_action_done_blue.png differ diff --git a/android-app/src/main/res/layout/cpp_wizard_step_final.xml b/android-app/src/main/res/layout/cpp_wizard_step_final.xml index 2156f402..7d1523c4 100644 --- a/android-app/src/main/res/layout/cpp_wizard_step_final.xml +++ b/android-app/src/main/res/layout/cpp_wizard_step_final.xml @@ -30,6 +30,7 @@