make round button in android studio code example
Example 1: android studio make button round
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#eeffffff" />
<corners android:bottomRightRadius="8dp"
android:bottomLeftRadius="8dp"
android:topRightRadius="8dp"
android:topLeftRadius="8dp"/>
</shape>
Example 2: how to create round button in android studio
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="..." android:shape="rectangle"> <solid android:color="#47D476"/> <corners android:radius="8dp"/></shape>