|
@@ -55,7 +55,9 @@ public class ScreenImpl extends RelativeLayout implements Screen, ScrollDirectio
|
55
|
55
|
private void addContentView() {
|
56
|
56
|
contentView = new ContentView(getContext(), screenParams, this);
|
57
|
57
|
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT);
|
58
|
|
- params.addRule(RelativeLayout.BELOW, topBar.getId());
|
|
58
|
+ if (!screenParams.styleParams.drawUnderTopBar) {
|
|
59
|
+ params.addRule(RelativeLayout.BELOW, topBar.getId());
|
|
60
|
+ }
|
59
|
61
|
addView(contentView, params);
|
60
|
62
|
contentView.init();
|
61
|
63
|
}
|