android custom button rounded corners code example
Example: rounded corners button in android
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="24dp" />
<solid android:color="#F00" />
</shape>