Merge pull request #1482 from michaelschattgen/feature/rounded-progressbar

Make progressbar rounded on the right side
This commit is contained in:
Alexander Bakker 2024-09-11 20:48:49 +02:00 committed by GitHub
commit eb6e26a8e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,14 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/progress">
<clip>
<scale android:scaleWidth="100%">
<shape>
<solid android:color="?attr/colorPrimaryAlternative"/>
<corners
android:topLeftRadius="0dp"
android:topRightRadius="2dp"
android:bottomLeftRadius="0dp"
android:bottomRightRadius="2dp" />
</shape>
</clip>
</scale>
</item>
</layer-list>