unset DistributeEvenly to avoid cut off tabs
This commit is contained in:
1 parent
42cb7979e4
commit
ffb70b40b1
1 file changed
+1
-1
@@ -40,7 +40,7 @@ public class VanillaTabLayout extends SlidingTabLayout {
|
||||
public VanillaTabLayout(Context context, AttributeSet attrs, int defStyle) {
|
||||
super(context, attrs, defStyle);
|
||||
setSelectedIndicatorColors(context.getResources().getColor(ch.blinkenlights.android.vanilla.R.color.tabs_active_indicator));
|
||||
setDistributeEvenly(true);
|
||||
setDistributeEvenly(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user