I need to create a dialog which displays text:"Choose your gamemode" and then when user clicks on specific button (4 buttons total), execute the action with onItemClickListener(). But I want from it to have the custom shape. Here is my code for the shape:
<solid android:color="#ffffff" />
<stroke
android:width="4dp"
android:color="#000000" />
<corners
android:bottomLeftRadius="80dp"
android:bottomRightRadius="80dp"
android:topLeftRadius="80dp"
android:topRightRadius="80dp" />
How should I continue with defining the layout and how can I make the dialog itself ?
EDIT:
Now the code works but I can see the ugly black rectangular borders around my DialogActivity. How can I remove them ?