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:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…