hbb20 / CountryCodePickerProject

Country Code Picker (CCP) is an android library which provides an easy way to search and select country or international phone code. Also supports Android EditText phone mask and international phone validation.
Apache License 2.0
1.52k stars 505 forks source link

Allow to change arrow position #380

Open german1608 opened 4 years ago

german1608 commented 4 years ago

Currently the arrow is on the right side of the country code. It would be nice to allow the user to change it to the left.

hbb20 commented 4 years ago

That's an interesting design. I did not think about it because I haven't seen UI design where it's on left. As a quick fix, until we release with that option, I would suggest to download current layout file and put it in your project with the same name. It will override the library's layout. Modify this local layout file and it should be good to go. Also if possible, can you post your UI design. I am just curious.

german1608 commented 4 years ago

image This was the original idea, but after discussing with my UI/UX team we decided to left the arrow at the right, just as the project is currently doing.

Anyway, somebody could find useful to have this design implemented.

german1608 commented 4 years ago

That is a mock, actual country code picker is yours :)

hbb20 commented 4 years ago

Thanks for sharing. I will work on giving flexibility..

german1608 commented 4 years ago

I can try to contribute that to the project. It is not a difficult feature.