I am trying to make my main activity, which handles fragments, have rounded edges, a clear example is this image
How could I do that? I was trying with this that I found on the same page LINK .
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners android:radius="15dp" />
<solid android:color="#565656" />
<stroke
android:width="3dp"
android:color="#ffffff" />
<padding
android:bottom="6dp"
android:left="6dp"
android:right="6dp"
android:top="3dp" />
</shape>
But I can not do anything, it shows absolutely nothing ... I do not know if I'm doing something wrong, or something is missing, BUT, if I do not use it as a STYLE and if I use BACKGROUND if it shows me, with the difference that instead of having the corners in black (simulating that it is screen off) shows me in white ...
Any suggestions? Thanks!