Skip to content

Android library for entering international phone numbers

Notifications You must be signed in to change notification settings

sssprog/PhoneInputView

Repository files navigation

PhoneInputView

Android library for entering international phone numbers.

Google's libphonenumber is used for phone validation, formatting and number examples.

Alt text

To customize appearance, view accepts custom layout in parameter phone_layout

<ru.sssprog.phoneinput.PhoneInputView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:phone_layout="@layout/custom_phone_input" />

Custom layout must contain TextView with id maskView and EditText with id editText.

Releases

No releases published

Packages

No packages published

Languages