Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.13 KB

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