Harsh
Harsh

Reputation: 356

showing progress below progressbar in a textview

I am working on widget in which there is a progressbar and a textview below progressbar. This textview shows the current progress. But the position of textview changes according to value of progress in progressbar.Like in this image. Can anyone help me out in this Or guide me in the right direction. I would like to mention that the OS i am working on is 2.3 (10) Thanks

enter image description here

Upvotes: 1

Views: 764

Answers (1)

meredrica
meredrica

Reputation: 2563

You could dynamically apply X coordinates based on the progress with a 0 length animation. https://developer.android.com/reference/android/view/ViewPropertyAnimator.html

Upvotes: 1

Related Questions