Theme changes

This commit is contained in:
Sergey Solovyev
2012-11-19 21:24:19 +04:00
parent 90276c171f
commit 1f0188be4b
23 changed files with 223 additions and 177 deletions

View File

@@ -100,7 +100,7 @@ public class CalculatorActivityHelperImpl extends AbstractCalculatorHelper imple
toggleTitle(activity, true);
actionBar.setIcon(R.drawable.icon_action_bar);
actionBar.setIcon(R.drawable.ab_icon);
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
}

View File

@@ -22,7 +22,7 @@ import org.solovyev.android.calculator.widget.CalculatorWidgetHelper;
/*@ReportsCrashes(formKey = "dEhDaW1nZU1qcFdsVUpiSnhON0c0ZHc6MQ",
mode = ReportingInteractionMode.TOAST)*/
@ReportsCrashes(formKey = "",
mailTo = "se.solovyev+programming+calculatorpp+crashes+1.5.0b@gmail.com",
mailTo = "se.solovyev+programming+calculatorpp+crashes+1.5@gmail.com",
mode = ReportingInteractionMode.DIALOG,
resToastText = R.string.crashed,
resDialogTitle = R.string.crash_dialog_title,

View File

@@ -63,12 +63,12 @@ public final class CalculatorPreferences {
public static enum Theme {
default_theme(ThemeType.other, R.style.default_theme),
violet_theme(ThemeType.other, R.style.violet_theme),
light_blue_theme(ThemeType.other, R.style.light_blue_theme),
metro_blue_theme(ThemeType.metro, R.style.metro_blue_theme),
metro_purple_theme(ThemeType.metro, R.style.metro_purple_theme),
metro_green_theme(ThemeType.metro, R.style.metro_green_theme);
default_theme(ThemeType.other, R.style.cpp_gray_theme),
violet_theme(ThemeType.other, R.style.cpp_violet_theme),
light_blue_theme(ThemeType.other, R.style.cpp_light_blue_theme),
metro_blue_theme(ThemeType.metro, R.style.cpp_metro_blue_theme),
metro_purple_theme(ThemeType.metro, R.style.cpp_metro_purple_theme),
metro_green_theme(ThemeType.metro, R.style.cpp_metro_green_theme);
@NotNull
private final ThemeType themeType;
@@ -76,7 +76,7 @@ public final class CalculatorPreferences {
@NotNull
private final Integer themeId;
Theme(@NotNull ThemeType themeType, Integer themeId) {
Theme(@NotNull ThemeType themeType, @NotNull Integer themeId) {
this.themeType = themeType;
this.themeId = themeId;
}