Skip to content

Commit

Permalink
Merge pull request #1482 from michaelschattgen/feature/rounded-progre…
Browse files Browse the repository at this point in the history
…ssbar

Make progressbar rounded on the right side
  • Loading branch information
alexbakker committed Sep 11, 2024
2 parents 0046e88 + aab046c commit eb6e26a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/src/main/res/drawable/progress_horizontal.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit eb6e26a

Please sign in to comment.