set shape background to transparent in android
问题 I have a shape drawable that I want to use as a background. I want the shape to be transparent. But so far it's not. How do I do that? Here is what I have: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:padding="10dp" android:shape="rectangle" > <solid android:color="#80000000" /> <stroke android:width="1dip" android:color="#000000" /> <corners android:radius="10dp" /> </shape> I expected the line <solid android:color="