Tablayout是谷歌自己出的针对带有标题栏的viewpage滚动控件.我在开发中使用到的一些设置:

    <android.support.design.widget.TabLayout
        android:id="@+id/ortsf_tl_table"
        android:layout_width="match_parent"
        app:tabTextColor="@color/blue_l"
        app:tabSelectedTextColor="@android:color/white"
        app:tabIndicatorColor="@android:color/transparent"
        app:tabBackground="@drawable/radiobutton_blue_write_selector"
        android:layout_height="wrap_content"/>
<!--app:tabTextAppearance=""-->针对字体加粗和字体大小的一些设置!需要自己定义一些style来控制.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-11-23
  • 2021-08-19
猜你喜欢
  • 2021-11-19
  • 2021-11-21
  • 2021-04-01
  • 2021-07-30
  • 2022-02-16
  • 2021-11-16
  • 2022-02-18
相关资源
相似解决方案