PhoneEditText

Additional

Language
Java
Version
1.4 (Mar 26, 2017)
Created
Feb 8, 2017
Updated
Jul 9, 2017 (Retired)
Owner
Leonardo Esparis (ljesparis)
Contributor
Leonardo Esparis (LeoXnidas)
1
Activity
Badge
Generate
Download
Source code

PhoneEditText

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

License

LICENSE