Open liuguijie opened 1 year ago
文字下面的指示线,文字切换,线根本不居中,对不准文字
我也遇到这个问题, 然后发现SmartTabLayout需要一个固定的高度才能正常匹配位置,比如 android:layout_height="60dip"
android:layout_height="60dip"
不能是 match_parent 也不能用 layout_weight的方式。 并且这个“固定的高度”的值不能大于父view的实际高度。
文字下面的指示线,文字切换,线根本不居中,对不准文字