如何使圖片滑塊上的標籤佈局透明...這是我的佈局,我宣佈標籤佈局...我搜索了很多,但我沒有任何解決方案.. 。如何使圖片滑塊上的tablayout透明
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.TabLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="150dp"
android:id="@+id/tablayout"
android:textAllCaps="false"
android:background="#db000000"
app:tabMode="fixed"
app:elevation="0dp"
app:tabGravity="fill"
app:tabTextColor="#FFFFFF"
app:tabSelectedTextColor="#EF9C1A"
android:tabStripEnabled="true"
>
</android.support.design.widget.TabLayout>
</RelativeLayout>
請提供您的MainActivity代碼,你宣佈tabLayout – Asama