PhoneEditText
ljesparis
14
Visit GitHub RepoWidgets

PhoneEditText Android Arsenal API

simple android library that allows you to have internationals phone codes in a simple edittext, all international phone codes came from https://countrycode.org/

Usage

1- first of all, add gradle dependencie

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
    }
}
        .
        .
        .


dependencies {
    compile 'com.github.leoxnidas:PhoneEditText:1.4'
}

2- add PhoneEditText to your layout

<com.github.leoxnidas.phoneedittext.PhoneEditText
        app:code="USA"
        android:layout_width="200dp"
        android:layout_height="wrap_content"/>

3- enjoy =P

Example

image

License

LICENSE

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT