unset DistributeEvenly to avoid cut off tabs

This commit is contained in:
Adrian Ulrich committed 2017-02-26 14:16:54 +01:00
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);
}
/**