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

special phone edittext library. (DEPRECATED)

License

Notifications You must be signed in to change notification settings

ljesparis/PhoneEditText

Repository files navigation

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