Closed jingzz1 closed 3 years ago
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" android:gravity="center" android:background="@drawable/click_bg"> <ImageView android:layout_width="wrap_content" android:layout_height="21dp" android:adjustViewBounds="true" android:src="@mipmap/module_msg"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="消息" android:textSize="11dp" android:layout_marginTop="4dp" android:textColor="@color/gray_33"/> </LinearLayout>
像这种,linearLayout里一个imageView和一个textView,tab_select_color和tab_deselect_color设置无效是吗?
调用com.angcyo.tablayout.DslTabLayout#configTabLayoutConfig
com.angcyo.tablayout.DslTabLayout#configTabLayoutConfig
修改onGetTextStyleView和onGetIcoStyleView属性.
onGetTextStyleView
onGetIcoStyleView
像这种,linearLayout里一个imageView和一个textView,tab_select_color和tab_deselect_color设置无效是吗?