I have to create a shape like this

[![enter image description here](https://i.stack.imgur.com/kgV8F.png)](https://i.stack.imgur.com/kgV8F.png)

I will be creating a rounded rectangle and placing the triangle at the centre bottom of the rectangle.

So far I have my rectangle

```
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#001E33" />
<corners android:radius="30dp" />
</shape>

```

I created a upside triangle

```
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
    <rotate
        android:fromDegrees="45"
        android:pivotX="-40%"
        android:pivotY="87%"
        android:toDegrees="45">
        <shape android:shape="rectangle">
            <stroke
                android:width="10dp"
                android:color="@android:color/transparent" />
            <solid android:color="#000000" />
            <corners android:radius="30dp"/>
        </shape>
    </rotate>
</item>
</layer-list>

```

How do I make the triangle point down and how do I club these 2 files to make a single drawable?