Remove line break in TabLayout

后端 未结 8 2056
自闭症患者
自闭症患者 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:39

    In your layout XML, if You are usign TextView ,use android:maxLines="1" or android:singleLine="true" See if this works. And if Not TextView then please put your xml here.

提交回复
热议问题