Open neuyu opened 6 years ago
here is my xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.ogaclejapan.smarttablayout.SmartTabLayout android:id="@+id/viewpager_tab" android:layout_width="match_parent" android:layout_height="48dp"/> <android.support.v4.view.ViewPager android:id="@+id/viewpager" android:layout_width="match_parent" android:layout_height="match_parent" /> </LinearLayout>

set app:stl_distributeEvenly="true"
app:stl_distributeEvenly="true"
here is my xml