Skip to content

sychaos/PasswordinputView

Repository files navigation

PasswordinputView

支付密码输入框及支付键盘

ScreenShot

InputPasswordDialog

InputPasswordDialog

PasswordInputView

PasswordInputView

Usage

Add it in your root build.gradle at the end of repositories:

allprojects{repositories{... maven{url 'https://jitpack.io' } } } 

Step 2. Add the dependency

dependencies{compile 'com.github.sychaos:PasswordinputView:1.0.1' } 

Sample Code

 <cloudist.cc.library.view.PasswordInputView android:id="@+id/password_inputview"android:layout_width="match_parent"android:layout_height="wrap_content"android:background="@color/white"app:borderWidth="0.5dp"app:itemHeight="36dp"app:itemPadding="8dp"app:passwordLength="7"app:borderRadius="1dp"app:passwordWidth="6dp" />
// bind keyBoardDialog to PasswordInputViewfinalPasswordInputViewpasswordInputView = findViewById(R.id.password_inputview); passwordInputView.bindKeyBoard(getSupportFragmentManager(), "");
// show InputPasswordDialogInputPasswordDialog.newInstance() .setTextChangeListener(newTextChangeListener(){@OverridepublicvoidtextChange(Stringtext){//TODO } }).show(getSupportFragmentManager(), "");

About

支付密码输入框及支付键盘

Resources

Stars

Watchers

Forks

Packages

No packages published