I'm creating an app in Android Studio
. I created an AlertDialog
with the background of the layout set to this custom xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/connectioncardColor" />
<corners android:bottomRightRadius="8dp"
android:bottomLeftRadius="8dp"
android:topRightRadius="8dp"
android:topLeftRadius="8dp"/>
<stroke
android:color="@color/colorPrimaryDark"
android:width="1dp"/>
</shape>
The corners of the background are nice and rounded but behind the background is another layer of white. So there is bit of white in the corner, how to remove that?