This button has outer white rong and an inner grey background.
The inner background contains an image (tickmark) and a text (Apply).
I am able to make a shape like this (below).
I am using a shape in drawable (button.xml):
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<size android:height="85dp"
android:width="90dp"/>
<solid android:color="@color/grey"/>
<stroke android:color="@color/white" android:width="4dp"></stroke>
</shape>
</item>
<item
android:drawable="@drawable/checkmark_filled"
android:bottom="20dp"
android:left="20dp"
android:right="20dp"
android:top="20dp"/>
</layer-list>
and using an ImageView to use the shape
<ImageView
android:id="@+id/button_apply"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/button"/>
But I am not able to make a text in shape.
Am I missing something or is there any way possible?