Skip to content
🔥🔥字母,符号,数字&自定义安全键盘🔥🔥
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
gradle/wrapper push 1.0 version Jun 21, 2018
lazykeyboard 1.修改数字键盘删除按钮长按无法删除的问题 Jul 4, 2018
screenshot
.gitignore
LICENSE Initial commit Jun 21, 2018
README.md Update README.md Jun 27, 2018
build.gradle 1. add Example Jun 21, 2018
gradle.properties push 1.0 version Jun 21, 2018
gradlew push 1.0 version Jun 21, 2018
gradlew.bat
settings.gradle push 1.0 version Jun 21, 2018

README.md

LazyKeyboard

A SecurityKeyBoard for Android. Supporting three kinds of keyboard: Letter, Number, Symbol.

中文版

Installation

Gradle

Step 1. 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 {
    implementation 'com.github.onlyloveyd:LazyKeyboard:v1.3'
}

Basic Usage

Step 1. Add SecurityEditText into your layout

   <LinearLayout
        android:id="@+id/container"
        ...">

        <com.gs.keyboard.SecurityEditText
            android:id="@+id/et_security_keyboard"
            android:layout_width="match_parent"
            ... />

        <EditText
            android:id="@+id/et_security_keyboard_two"
            ... />
    </LinearLayout>

Step 2. init SecurityKeyboard with the layout contains SecurityEditText

   SecurityConfigure configure = new SecurityConfigure()
           .setDefaultKeyboardType(KeyboardType.NUMBER)
           .setLetterEnabled(false);
   securityKeyboard = new SecurityKeyboard(binding.loginLayout, configure);

Basic Result

letter symbol number

You can’t perform that action at this time.