```
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item >
    <shape>
        <solid android:color="@color/red"/>
        <stroke android:width="1dip" android:color="@color/grey"/>
        <corners android:bottomLeftRadius="5dp"
            android:bottomRightRadius="30dp"
            android:topLeftRadius="5dp"
            android:topRightRadius="30dp"/>

        <padding android:bottom="0dip"
            android:left="0dip"
            android:right="0dip"
            android:top="0dip"/>
    </shape>
    </item>
   </layer-list>

```

I am use this code for make border radius its make the textView border radius

I increase the

```
android:topRightRadius="30dp"
android:bottomRightRadius="30dp"

```

But it still same like I make

> 
> androd:radius:5dp
> 
> 
> 

my xml 

```
 <customfonts.MyTextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="hello stackoverflow"
                android:layout_gravity="start"
                android:background="@drawable/message"
                android:textColor="#000"
                android:textSize="12dp"
                android:layout_marginBottom="4dp"
                android:padding="8dp"
                android:id="@+id/fff" />

```

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