"Standard" EditText height?

Kevin

Well-Known Member
Licensed User
Longtime User
An internal tester at Amazon sent me a screenshot showing that an EditText in my app is too short (height) to completely show the text in it. I'm not exactly sure how this happened, but suspect it has something to do with Android adjusting one of the variants to suit the Kindle Fire.

I am in the process of redoing the way my app sizes and positions views but while I am at it, is there a standard height I should use? Such as 40dip? I haven't changed any font sizes (that I can recall) from the defaults.
 

Kevin

Well-Known Member
Licensed User
Longtime User
I can't check the code right now, but I am 99% certain that I do not change font size anywhere in the code. It is possible though that I may have accidentally nudged the EditText box to a smaller height than it was originally, or for some other reason decided to make it shorter in height in the designer. I assume this could cause this problem, which is why I was wondering if it should be a specific height in the designer, or if that also depends on the variant's dimensions / resolution.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…