I try to create not full screen Activity with transparency around it and use this layout XML:
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:id="@+id/containerPageContainer">
<FrameLayout
android:id="@+id/informationContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" >
<LinearLayout
android:id="@+id/myContainer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_horizontal"
android:background="@drawable/rounder_corners"
android:orientation="vertical"
android:padding="10dp" >
</LinearLayout>
</FrameLayout>
</merge>
And for rounded corners:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" android:padding="10dp">
<solid android:color="#FFFFFFFF" />
<corners android:radius="10dp" />
</shape>
But have received this result with defects on corners, bottom and top sides:

Help me to fix it please.
I have found solution:
1) Create theme XML in
res/values/:2) Rounded corners style
drawable/rounded_corners.xml:3) Activity XML:
4) Describe
Activityin project manifest XML: