Theme changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user