Remove line break in TabLayout

后端 未结 8 2038
自闭症患者
自闭症患者 2020-11-27 05:30

I just added the new TabLayout component to my app. As you may know there are two different modes for tabs app:tabMode=\"scrollable\" and app:tabMode=\"fi

8条回答
  •  再見小時候
    2020-11-27 05:38

    If it is an option you could center the tabs with a RelativeLayout and by setting android:layout_centerHorizontal="true"

    This will give you an equal margin on both the left and right side.

    e.g.

        
            
        
    

提交回复
热议问题