I have edit text element that will get the phone number, I need the phone number to be include country code in +xxx format. I am using
Finally I used IntlPhoneInput. Although I had to tweak it for my usage but this is a nice library.
Its available on gradle.