Phone-Android-Country-Formatter will help you to format the phone as the user will type in International format. It can also automatically set the Country for the number that you will type.