|
@@ -50,6 +50,7 @@ public class StyleParamsParser {
|
50
|
50
|
result.selectedTopTabTextColor = getColor("selectedTopTabTextColor", getDefaultSelectedTopTabTextColor());
|
51
|
51
|
result.selectedTopTabIndicatorHeight = getInt("selectedTopTabIndicatorHeight", getDefaultSelectedTopTabIndicatorHeight());
|
52
|
52
|
result.selectedTopTabIndicatorColor = getColor("selectedTopTabIndicatorColor", getDefaultSelectedTopTabIndicatorColor());
|
|
53
|
+ result.topTabScrollable = getBoolean("topTabScrollable", getDefaultTopTabScrollable());
|
53
|
54
|
|
54
|
55
|
result.screenBackgroundColor = getColor("screenBackgroundColor", getDefaultScreenBackgroundColor());
|
55
|
56
|
|
|
@@ -165,6 +166,10 @@ public class StyleParamsParser {
|
165
|
166
|
return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.topTabTextColor;
|
166
|
167
|
}
|
167
|
168
|
|
|
169
|
+ private boolean getDefaultTopTabScrollable() {
|
|
170
|
+ return AppStyle.appStyle != null && AppStyle.appStyle.topTabScrollable;
|
|
171
|
+ }
|
|
172
|
+
|
168
|
173
|
private StyleParams.Color getDefaultTopTabIconColor() {
|
169
|
174
|
return AppStyle.appStyle == null ? new StyleParams.Color() : AppStyle.appStyle.topTabIconColor;
|
170
|
175
|
}
|