|
@@ -28,6 +28,7 @@ public class StyleParamsParser {
|
28
|
28
|
|
29
|
29
|
StyleParams result = new StyleParams(params);
|
30
|
30
|
result.orientation = Orientation.fromString(params.getString("orientation", getDefaultOrientation()));
|
|
31
|
+ result.screenAnimationType = params.getString("screenAnimationType", getDefaultScreenAnimationType());
|
31
|
32
|
result.statusBarColor = getColor("statusBarColor", getDefaultStatusBarColor());
|
32
|
33
|
result.statusBarHidden = getBoolean("statusBarHidden", getDefaultStatusHidden());
|
33
|
34
|
result.statusBarTextColorScheme = StatusBarTextColorScheme.fromString(params.getString("statusBarTextColorScheme"), getDefaultStatusBarTextColorScheme());
|
|
@@ -89,8 +90,7 @@ public class StyleParamsParser {
|
89
|
90
|
result.bottomTabsHiddenOnScroll = getBoolean("bottomTabsHiddenOnScroll", getDefaultBottomTabsHiddenOnScroll());
|
90
|
91
|
result.bottomTabsColor = getColor("bottomTabsColor", getDefaultBottomTabsColor());
|
91
|
92
|
result.bottomTabsButtonColor = getColor("bottomTabsButtonColor", getDefaultBottomTabsButtonColor());
|
92
|
|
- result.selectedBottomTabsButtonColor =
|
93
|
|
- getColor("bottomTabsSelectedButtonColor", getDefaultSelectedBottomTabsButtonColor());
|
|
93
|
+ result.selectedBottomTabsButtonColor = getColor("bottomTabsSelectedButtonColor", getDefaultSelectedBottomTabsButtonColor());
|
94
|
94
|
result.bottomTabBadgeTextColor = getColor("bottomTabBadgeTextColor", getBottomTabBadgeTextColor());
|
95
|
95
|
result.bottomTabBadgeBackgroundColor = getColor("bottomTabBadgeBackgroundColor", getBottomTabBadgeBackgroundColor());
|
96
|
96
|
|
|
@@ -102,6 +102,10 @@ public class StyleParamsParser {
|
102
|
102
|
return result;
|
103
|
103
|
}
|
104
|
104
|
|
|
105
|
+ private String getDefaultScreenAnimationType() {
|
|
106
|
+ return AppStyle.appStyle == null ? "slide-up" : AppStyle.appStyle.screenAnimationType;
|
|
107
|
+ }
|
|
108
|
+
|
105
|
109
|
private StatusBarTextColorScheme getDefaultStatusBarTextColorScheme() {
|
106
|
110
|
return AppStyle.appStyle == null ? StatusBarTextColorScheme.Undefined : AppStyle.appStyle.statusBarTextColorScheme;
|
107
|
111
|
}
|
|
@@ -121,6 +125,7 @@ public class StyleParamsParser {
|
121
|
125
|
result.titleBarSubtitleFontFamily = new StyleParams.Font();
|
122
|
126
|
result.titleBarButtonFontFamily = new StyleParams.Font();
|
123
|
127
|
result.titleBarHeight = -1;
|
|
128
|
+ result.screenAnimationType = "slide-up";
|
124
|
129
|
return result;
|
125
|
130
|
}
|
126
|
131
|
|