AlmogBaku / IntlPhoneInput

International phone input for Android
Other
162 stars 96 forks source link

Flags not aligned with the telephone number #7

Open ghost opened 8 years ago

ghost commented 8 years ago

I am getting a little bug while displaying your IntlPhoneInput view. The flags are never aligned with the following cellphone number, and some flags are very high from the input. On your animated gif, everything seems to be working properly.

Just give a look at my screenshot :

https://drive.google.com/file/d/0B_yIr0cpahYTWmZaQ2cxdlkzOG8/view?usp=sharing

How can I fix this ? I tried to add margins programmatically but it didn't work...

ghost commented 8 years ago

Please add : android:gravity="center" to the layout holding Spinner and EditText in your intlphoneinput.xml file. Then it will be aligned ;)