Android Question EditText height changes, setting up ColorDrawable?

zakker

Member
Licensed User
Hi all,
I have 2 EditText (text1, text2) setted by code with the same height.
On text2 I use ColorDrawable to set its background color ... why, on screen, text2 seems higher than text1 even if they have the same height?!?!?

I attach an example

Thanks
 

Attachments

  • EditText.zip
    6.8 KB · Views: 250
Last edited:

klaus

Expert
Licensed User
Longtime User
That's how it looks like on my Samsung s6, Android 6.0.1
upload_2017-3-11_11-59-50.png
 
Upvote 0
Top