Android 如何绘制这样的线性布局角形状

Android how to draw Linear layout corners shape like this

我想做一个布局角,形状像这个图片。我在网上看了看,但我没有找到任何关于曲线形状的代码,请帮助我,请检查下图。 我想设计曲线形状的线性布局。

<LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/curve"
        android:orientation="vertical" >

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical" >

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:padding="5dp"
                android:text="Hi, This layout has rounded corner borders ..." />
        </LinearLayout>
    </LinearLayout>


<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- view background color -->
    <solid
        android:color="#a9c5ac" >
    </solid>

    <!-- view border color and width -->
    <stroke
        android:width="1dp"
        android:color="#1c1b20" >
    </stroke>

    <!-- If you want to add some padding -->
    <padding
        android:left="4dp"
        android:top="4dp"
        android:right="4dp"
        android:bottom="4dp"    >
    </padding>

    <!-- Here is the corner radius -->
    <corners
        android:radius="8dp"
         android:bottomLeftRadius="-15dp"
        android:bottomRightRadius="-15dp"
        android:topLeftRadius="-15dp"
        android:topRightRadius="-15dp"   >
    </corners>

</shape>

<TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/curve"
        android:gravity="center_vertical|center_horizontal"
        android:padding="5dp"
        android:text="Hi, This layout has rounded corner borders ..." />

使用这条曲线。9.png 图片