1
我使用this示例创建自定义选项卡。我不知道如何在选项卡视图中添加图像。将图像添加到自定义选项卡
我尝试在tabs_bg.xml但图像添加ImageView
元素不显示,只有文字
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imgTab"
android:background="@drawable/img"/>
有人可以帮助我?
感谢