How can I align a TextView with the progress of a horizontal ProgressBar. I want to put a TextView right above the progress position of th
TextView
ProgressBar
Calculate the x position of thumb from progressBar and apply it to textview
var xPosition= (((seekBar.right - seekBar.left) / seekBar.max) * seekBar.progress ) + seekBar.left progressTextView.translationX = xPosition.toFloat() - (progressTextView.width/2)