I have this circular progress bar
And I want to round the final corner, so it looks like this
Is possible to do this?
This is my XML for my actual progressbar:
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:pivotX="50%"
android:pivotY="50%"
android:fromDegrees="0"
android:toDegrees="360">
<shape
android:shape="ring"
android:innerRadiusRatio="3"
android:thicknessRatio="9"
android:useLevel="false">
<gradient
android:type="sweep"
android:startColor="@android:color/holo_orange_light"
android:endColor="@android:color/holo_red_light" />
</shape>
</rotate>
And my ProgresBar:
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:indeterminateDrawable="@drawable/progress"/>
I have seen how it is done with HorizontalProgressBar but not with CircularProgressBar, is it possible to do this effect? How is it done?
I tried this but doesn't works https://stackoverflow.com/a/53830379/7271027

