I'm trying to make a CardView with a background of #88FFFFFF, and with rounded corners. It doesn't work properly, with the corners being doubly opaque in Android Studio, and the whole border being doubly opaque on my device.
Here is the code:
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="100dp"
android:layout_height="100dp"
app:cardBackgroundColor="#88FFFFFF"
app:cardElevation="2dp"
app:cardCornerRadius="12dp">
</android.support.v7.widget.CardView>
And here is the result:
Is there a way to fix this without creating a drawable for the background?
