I have a table grid and want to display an edittext in a table cell, when the user touches a cell.
My problem is: the height of the Edittext must be more than twice as large as the measured string height of it's text, to display the string properly.
I tried to set the EditText height to the height of my table rows. This should work fine, because i use the same typeface and the row height was calculated before with MeasureStringHeight.
But when i do that, only the lower half of the text is visible in the edittext view. I have already tried all gravity settings, but without success.
How can i reduce the vertical border size of the edittext view?
My problem is: the height of the Edittext must be more than twice as large as the measured string height of it's text, to display the string properly.
I tried to set the EditText height to the height of my table rows. This should work fine, because i use the same typeface and the row height was calculated before with MeasureStringHeight.
But when i do that, only the lower half of the text is visible in the edittext view. I have already tried all gravity settings, but without success.
How can i reduce the vertical border size of the edittext view?