Closed 401885064 closed 8 years ago
Hi, @401885064 I'm sorry late reply. I’ve been busy lately at work :P
It was already resolved?
Please use the custom layout.
If you use the app:stl_distributeEvenly="true"
, default tab will be android:layout_width="0dp" android:layout_weight="1"
this is my xml:
<com.ogaclejapan.smarttablayout.SmartTabLayout android:id="@+id/viewpagertab" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="0dp" android:layout_height="40dp" android:layout_marginLeft="50dp" android:layout_marginRight="50dp" android:layout_weight="1"
when app:stl_defaultTabBackground="@drawable/top_of_the_column"
is no my want their layout_width is to be wrap_content no my set android:layout_width="0dp" android:layout_weight="1"
when i change app:stl_defaultTabBackground="@android:color/white" , it will well . i so understand why it is??