Files
VercodeEditText/README.md
yj 9eb76807c1 Action:alter
Description:alter readme.md
2017-06-13 09:08:44 +08:00

1.8 KiB

SlideMenuLayout

Introduction

An android Verification code EditText.
一个支持左右滑动并带有视差滑动效果的安卓滑动菜单控件。(中文版入口)
Platform API

Demo

Prevent input overflow.

Features

  • Extends EditText,it can be used as EditText
  • Prevent input overflow
  • Custom validation code length
  • Provide input value listener
  • Layout height is auto adjust
  • Attributes can be configured for customization

Version

name SlideMenuLayout
latest Download

Configure

Maven

<dependency>
  <groupId>com.justkiddingbaby</groupId>
  <artifactId>vercodeedittext</artifactId>
  <version>the latest version</version>
  <type>pom</type>
</dependency>

JCenter

First. add to project build.gradle

repositories {
    jcenter()
}

Second. add to module build.gradle

compile 'com.justkiddingbaby:vercodeedittext:the latest version'

Attributes instruction

attribute instruction value
slideMode sliding mode left right both none
slidePadding the content view padding when slide menu is opened dimension
slideTime the time of slide menu open,the default value is 800ms integer