PhoneEditText

Additional

Language
Java
Version
1.4 (Mar 26, 2017)
Created
Feb 8, 2017
Updated
Mar 26, 2017
Owner
Leonardo Esparis (leoxnidas)
Contributor
Leonardo Esparis (leoxnidas)
1
Activity
Badge
Generate
Download
Source code
APK file

Commercial

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