|
@@ -48,6 +48,8 @@ public class StyleParamsParser {
|
48
|
48
|
result.drawScreenBelowTopBar = false;
|
49
|
49
|
}
|
50
|
50
|
|
|
51
|
+ result.screenBackgroundColor = getColor("screenBackgroundColor", getDefaultScreenBackgroundColor());
|
|
52
|
+
|
51
|
53
|
result.bottomTabsHidden = getBoolean("bottomTabsHidden", getDefaultBottomTabsHidden());
|
52
|
54
|
result.drawScreenAboveBottomTabs = !result.bottomTabsHidden &&
|
53
|
55
|
params.getBoolean("drawScreenAboveBottomTabs", getDefaultDrawScreenAboveBottomTabs());
|
|
@@ -134,6 +136,10 @@ public class StyleParamsParser {
|
134
|
136
|
return AppStyle.appStyle != null && AppStyle.appStyle.drawScreenBelowTopBar;
|
135
|
137
|
}
|
136
|
138
|
|
|
139
|
+ private StyleParams.Color getDefaultScreenBackgroundColor() {
|
|
140
|
+ return AppStyle.appStyle != null ? AppStyle.appStyle.screenBackgroundColor : getColor("screenBackgroundColor", new StyleParams.Color());
|
|
141
|
+ }
|
|
142
|
+
|
137
|
143
|
private boolean getDefaultTopTabsHidden() {
|
138
|
144
|
return AppStyle.appStyle != null && AppStyle.appStyle.topTabsHidden;
|
139
|
145
|
}
|