title: Progress text that moves along with ProgressBar
body: <p>I have a horizontal ProgressBar in Android that animates to the current value. However, I would like to update it so that it has a TextView that shows the progress of the progress bar, and moves along with the right edge of the bar as the progress increases. I figure maybe I could create a custom ProgressBar and leverage the onDraw method somehow, but I'm not sure what the next move would be after that. Any suggestions on a better method or something that could point me in the right direction?</p>
  
  <p><a href="https://i.stack.imgur.com/cFRks.png" rel="nofollow noreferrer">A basic example of what I'm trying to achieve</a></p>
  
  <p>Any assistance is much appreciated.</p>