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
Asked
Active
Viewed 756 times
1
-
for future readers https://stackoverflow.com/a/61147300/6478047 – Manohar Apr 10 '20 at 19:27
1 Answers
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
-
thanks for the answer but This view property animator was added in API 12. I am working on API 10. – Harsh Feb 20 '14 at 14:12
-
1