|
@@ -102,6 +102,8 @@ public class StyleParamsParser {
|
102
|
102
|
result.forceTitlesDisplay = getBoolean("forceTitlesDisplay", getDefaultForceTitlesDisplay());
|
103
|
103
|
|
104
|
104
|
result.bottomTabFontFamily = getFont("bottomTabFontFamily", getDefaultBottomTabsFontFamily());
|
|
105
|
+ result.bottomTabFontSize = getIntegerOrNull("bottomTabFontSize");
|
|
106
|
+ result.bottomTabSelectedFontSize = getIntegerOrNull("bottomTabSelectedFontSize");
|
105
|
107
|
|
106
|
108
|
return result;
|
107
|
109
|
}
|
|
@@ -125,6 +127,8 @@ public class StyleParamsParser {
|
125
|
127
|
result.titleBarHideOnScroll = false;
|
126
|
128
|
result.orientation = Orientation.auto;
|
127
|
129
|
result.bottomTabFontFamily = new StyleParams.Font();
|
|
130
|
+ result.bottomTabFontSize = 10;
|
|
131
|
+ result.bottomTabSelectedFontSize = 10;
|
128
|
132
|
result.titleBarTitleFont = new StyleParams.Font();
|
129
|
133
|
result.titleBarSubtitleFontFamily = new StyleParams.Font();
|
130
|
134
|
result.titleBarButtonFontFamily = new StyleParams.Font();
|
|
@@ -361,6 +365,10 @@ public class StyleParamsParser {
|
361
|
365
|
return params.containsKey(key) ? params.getInt(key) : defaultValue;
|
362
|
366
|
}
|
363
|
367
|
|
|
368
|
+ private Integer getIntegerOrNull(String key) {
|
|
369
|
+ return params.containsKey(key) ? params.getInt(key) : null;
|
|
370
|
+ }
|
|
371
|
+
|
364
|
372
|
private Bundle getBundle(String key) {
|
365
|
373
|
return params.containsKey(key) ? params.getBundle(key) : Bundle.EMPTY;
|
366
|
374
|
}
|