我有一个布局:
<androID.support.design.Widget.TabLayout androID:ID="@+ID/tabs" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:background="@androID:color/white" androID:elevation="4dp" app:tabMode="fixed" app:tabGravity="fill" app:tabBackground="@color/colorPrimary" app:tabTextcolor="@androID:color/white" app:tabSelectedTextcolor="@androID:color/white"/>
和工具栏,但工具栏和分隔线之间仍然有一条小线.我尚未设置工具栏样式.如何卸下分隔线?
heres an image of the divider
解决方法:
请更新您的style.xml
<item name="androID:windowContentTransitions">true</item> <item name="androID:windowAllowEnterTransitionOverlap">true</item> <item name="androID:windowAllowReturnTransitionOverlap">true</item> <item name="androID:windowsharedElementEnterTransition">@androID:Transition/move</item> <item name="androID:windowsharedElementExitTransition">@androID:Transition/move</item>
总结 以上是内存溢出为你收集整理的android-如何删除工具栏和TabLayout之间的分隔线全部内容,希望文章能够帮你解决android-如何删除工具栏和TabLayout之间的分隔线所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)