|
@@ -23,6 +23,7 @@ public class StyleParamsParser {
|
23
|
23
|
|
24
|
24
|
result.topBarColor = getColor("topBarColor", getDefaultTopBarColor());
|
25
|
25
|
result.titleBarHidden = getBoolean("titleBarHidden", getDefaultTopBarHidden());
|
|
26
|
+ result.topBarTransparent = getBoolean("topBarTransparent", getDefaultTopBarHidden());
|
26
|
27
|
result.titleBarTitleColor = getColor("titleBarTitleColor", getDefaultTitleBarColor());
|
27
|
28
|
result.titleBarSubtitleColor = getColor("titleBarSubtitleColor", getDefaultSubtitleBarColor());
|
28
|
29
|
result.titleBarButtonColor = getColor("titleBarButtonColor", getTitleBarButtonColor());
|
|
@@ -37,7 +38,7 @@ public class StyleParamsParser {
|
37
|
38
|
|
38
|
39
|
// TODO: Uncomment once we support drawBelowTopBar again
|
39
|
40
|
//result.drawScreenBelowTopBar = params.getBoolean("drawBelowTopBar", isDefaultScreenBelowTopBar());
|
40
|
|
- result.drawScreenBelowTopBar = true;
|
|
41
|
+ result.drawScreenBelowTopBar = !result.topBarTransparent;
|
41
|
42
|
|
42
|
43
|
result.bottomTabsHidden = getBoolean("bottomTabsHidden", getDefaultBottomTabsHidden());
|
43
|
44
|
result.drawScreenAboveBottomTabs = !result.bottomTabsHidden &&
|
|
@@ -142,7 +143,7 @@ public class StyleParamsParser {
|
142
|
143
|
}
|
143
|
144
|
|
144
|
145
|
private boolean getDefaultTopBarHidden() {
|
145
|
|
- return AppStyle.appStyle != null && AppStyle.appStyle.titleBarHidden;
|
|
146
|
+ return AppStyle.appStyle != null && AppStyle.appStyle.topBarTransparent;
|
146
|
147
|
}
|
147
|
148
|
|
148
|
149
|
private StyleParams.Color getDefaultTopBarColor() {
|