|
@@ -69,6 +69,7 @@ public class StyleParamsParser {
|
69
|
69
|
result.titleBarHeight = getInt("titleBarHeight", getDefaultTitleBarHeight());
|
70
|
70
|
result.backButtonHidden = getBoolean("backButtonHidden", getDefaultBackButtonHidden());
|
71
|
71
|
result.topTabsHidden = getBoolean("topTabsHidden", getDefaultTopTabsHidden());
|
|
72
|
+ result.titleBarTopPadding = getInt("titleBarTopPadding", getTitleBarTopPadding());
|
72
|
73
|
|
73
|
74
|
result.topTabTextColor = getColor("topTabTextColor", getDefaultTopTabTextColor());
|
74
|
75
|
result.topTabTextFontFamily = getFont("topTabTextFontFamily", getDefaultTopTabTextFontFamily());
|
|
@@ -328,6 +329,10 @@ public class StyleParamsParser {
|
328
|
329
|
return AppStyle.appStyle == null ? -1 : AppStyle.appStyle.titleBarHeight;
|
329
|
330
|
}
|
330
|
331
|
|
|
332
|
+ private int getTitleBarTopPadding() {
|
|
333
|
+ return AppStyle.appStyle == null ? 0 : AppStyle.appStyle.titleBarTopPadding;
|
|
334
|
+ }
|
|
335
|
+
|
331
|
336
|
private boolean getBoolean(String key, boolean defaultValue) {
|
332
|
337
|
return params.containsKey(key) ? params.getBoolean(key) : defaultValue;
|
333
|
338
|
}
|