SDR
SDR

Reputation: 45

how to achieve IncrementprogressBy(0.5) in android

My seekbar range is 0-10 , i want to increase the progress by 0.5 for each click on the progress bar. I have browsed and could not find a way.

Upvotes: 1

Views: 1615

Answers (2)

Royston Pinto
Royston Pinto

Reputation: 6731

Unfortunately, the function API does not support float arguments. Kindly use integers and adjust the range accordingly.

Upvotes: 2

Onur A.
Onur A.

Reputation: 3017

make it 0-20 and increment it by 1

Upvotes: 5

Related Questions