<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="ring"
android:thickness="3dp"
android:innerRadius="34dp">
<solid android:color="@color/colorAccent"/>
</shape>
I want to create ring but nothing appears.
You can try like this for ring shape with fill transparent. set this drawable to your control.
use this code,
using ring shape
You can create ring from following code