|
|
|
|
58
|
addView(topBar, new LayoutParams(MATCH_PARENT, WRAP_CONTENT));
|
58
|
addView(topBar, new LayoutParams(MATCH_PARENT, WRAP_CONTENT));
|
59
|
}
|
59
|
}
|
60
|
|
60
|
|
61
|
- private void setStyle(ScreenStyleParams styleParams) {
|
|
|
|
|
61
|
+ private void setStyle(StyleParams styleParams) {
|
62
|
setStatusBarColor(styleParams.statusBarColor);
|
62
|
setStatusBarColor(styleParams.statusBarColor);
|
63
|
setNavigationBarColor(styleParams.navigationBarColor);
|
63
|
setNavigationBarColor(styleParams.navigationBarColor);
|
64
|
topBar.setStyle(styleParams);
|
64
|
topBar.setStyle(styleParams);
|