项目作者: danilovteodoro

项目描述 :
A mask Input EditText for Android
高级语言: Java
项目地址: git://github.com/danilovteodoro/Maskers.git
创建时间: 2018-11-06T19:19:45Z
项目社区:https://github.com/danilovteodoro/Maskers

开源协议:

下载


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.
  1. <org.dteodor.maskers.input.InputMask
  2. android:layout_width="match_parent"
  3. android:layout_height="wrap_content"
  4. app:mask="###.###.###-##"
  5. android:id="@+id/inputMask"
  6. ></org.dteodor.maskers.input.InputMask>
  1. Get the unmasked text.

````
inputMask.unmask() //Get unmasked text
inputMask.mask //Get mask