1.在values文件夹中colors.xml文件中加入
<color name="colorTransparent">#00000000</color>
2.在xml文件中加入
android:background="@color/colorTransparent"
原理:使用透明颜色做背景就OK啦
1.在values文件夹中colors.xml文件中加入
<color name="colorTransparent">#00000000</color>
2.在xml文件中加入
android:background="@color/colorTransparent"
原理:使用透明颜色做背景就OK啦