I am working on creating a Framelayout pie chart. When I google, I had a suggestion to make an xml file. I did this in the background for FrameLayout as my xml file. But this has no effect. My xml file for ring shape
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="ring"
android:innerRadius="15dp"
android:thickness="10dp"
android:useLevel="false">
<solid android:color="#ababf2" />
</shape>
I tried the whole ring and oval shape. No one worked. Please help me with this.
source
share