1

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

Harsh
  • 346
  • 7
  • 19

1 Answers1

1

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

meredrica
  • 2,563
  • 1
  • 21
  • 24