|
|
|
|
53
|
result.bottomTabsHidden = getBoolean("bottomTabsHidden", getDefaultBottomTabsHidden());
|
53
|
result.bottomTabsHidden = getBoolean("bottomTabsHidden", getDefaultBottomTabsHidden());
|
54
|
result.drawScreenAboveBottomTabs = !result.bottomTabsHidden &&
|
54
|
result.drawScreenAboveBottomTabs = !result.bottomTabsHidden &&
|
55
|
params.getBoolean("drawScreenAboveBottomTabs", getDefaultDrawScreenAboveBottomTabs());
|
55
|
params.getBoolean("drawScreenAboveBottomTabs", getDefaultDrawScreenAboveBottomTabs());
|
56
|
- result.drawScreenAboveBottomTabs = drawScreenUnderBottomTabsIfTitleBarIsHiddenOnScroll(result);
|
|
|
|
|
56
|
+ if (result.titleBarHideOnScroll) {
|
|
|
57
|
+ result.drawScreenAboveBottomTabs = false;
|
|
|
58
|
+ }
|
57
|
result.bottomTabsHiddenOnScroll = getBoolean("bottomTabsHiddenOnScroll", getDefaultBottomTabsHiddenOnScroll());
|
59
|
result.bottomTabsHiddenOnScroll = getBoolean("bottomTabsHiddenOnScroll", getDefaultBottomTabsHiddenOnScroll());
|
58
|
result.bottomTabsColor = getColor("bottomTabsColor", getDefaultBottomTabsColor());
|
60
|
result.bottomTabsColor = getColor("bottomTabsColor", getDefaultBottomTabsColor());
|
59
|
result.bottomTabsButtonColor = getColor("bottomTabsButtonColor", getDefaultBottomTabsButtonColor());
|
61
|
result.bottomTabsButtonColor = getColor("bottomTabsButtonColor", getDefaultBottomTabsButtonColor());
|
|
|
|
|
76
|
return result;
|
78
|
return result;
|
77
|
}
|
79
|
}
|
78
|
|
80
|
|
79
|
- private boolean drawScreenUnderBottomTabsIfTitleBarIsHiddenOnScroll(StyleParams result) {
|
|
|
80
|
- return !result.titleBarHideOnScroll;
|
|
|
81
|
- }
|
|
|
82
|
-
|
|
|
83
|
private StyleParams.Color getDefaultContextualMenuStatusBarColor() {
|
81
|
private StyleParams.Color getDefaultContextualMenuStatusBarColor() {
|
84
|
return new StyleParams.Color(Color.parseColor("#7c7c7c"));
|
82
|
return new StyleParams.Color(Color.parseColor("#7c7c7c"));
|
85
|
}
|
83
|
}
|