Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jetpack Compose CircularProgressIndicator counterclockwise direction

I'm using countdown (reverse counting) so need progress fill counterclockwise. I see it doesn't have direction setting. I've tried Modifier.grapficsLayer(scaleX = -1f) or Modifier.scale(x=-1f) but it doesn't mirror CircularProgressIndicator on X axis. Is there a way to change progress to counterclockwise / remove progress clockwise?

like image 326
DmitryBorodin Avatar asked Feb 02 '26 17:02

DmitryBorodin


1 Answers

try using this

Modifier.scale(scaleX = -1f, scaleY = 1f),

worked for me

like image 200
Filip Kwiatkowski Avatar answered Feb 05 '26 07:02

Filip Kwiatkowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!