I am creating a image editor. To write a text over image, we would like to have text autoresize feature. For the same I would like to calculate height of editText based on
- Characters
- Width of editText
- font-size
I think it will also vary with font-family and font-weight, if so how to consider all these while calculating height of editText.