danilovteodoro / Maskers

A mask Input EditText for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maskers

Provide a dynamic mask generation to Android EditText.

How to use

  1. Declare InputMask view in your Layout interface and assign the mask attribute with your mask.
<org.dteodor.maskers.input.InputMask
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           app:mask="###.###.###-##"
           android:id="@+id/inputMask"
   />
  1. Get the unmasked text.
inputMask.unmask() //Get unmasked text
inputMask.mask //Get mask

About

A mask Input EditText for Android


Languages

Language:Java 100.0%