All Projects → poovamraj → Pinedittextfield

poovamraj / Pinedittextfield

Licence: apache-2.0
Android library for pin edit text

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Pinedittextfield

Android Complexify
An Android library which makes checking the quality of user's password a breeze.
Stars: ✭ 111 (-32.32%)
Mutual labels:  password, edittext
CodeEditText
验证码,密码输入框。支持密码、明文展示。背景支持边框、填充、下划线展示。支持自定义背景和文本样式
Stars: ✭ 25 (-84.76%)
Mutual labels:  password, edittext
Passwordstrengthbundle
Symfony Password strength and blacklisting validator bundle
Stars: ✭ 123 (-25%)
Mutual labels:  password
Ng
Get password of the wifi you're connected, and your current ip address.
Stars: ✭ 151 (-7.93%)
Mutual labels:  password
Sharpview
安卓带有尖角气泡的控件(TextView,ImageView,EditText,Layout),支持渐变色,圆角等自定义属性
Stars: ✭ 137 (-16.46%)
Mutual labels:  edittext
Xrichtext
一个Android富文本类库,支持图文混排,支持编辑和预览,支持插入和删除图片。
Stars: ✭ 1,639 (+899.39%)
Mutual labels:  edittext
Toggleedittextview
Easily switch between EditText and TextView seamlessly.
Stars: ✭ 146 (-10.98%)
Mutual labels:  edittext
Bsearchedit
EditText搜索结果下拉框、自动or回调模式、可diy、使用超简便 (EditText search results drop-down box, auto or callback mode, diy, easy to use)
Stars: ✭ 122 (-25.61%)
Mutual labels:  edittext
Wifi Passview
An open source batch script based WiFi Passview for Windows!
Stars: ✭ 157 (-4.27%)
Mutual labels:  password
Wavecrack
Wavestone's web interface for password cracking with hashcat
Stars: ✭ 135 (-17.68%)
Mutual labels:  password
Randomatic
Easily generate random strings like passwords, with simple options for specifying a length and for using patterns of numeric, alpha-numeric, alphabetical, special or custom characters. (the original "generate-password")
Stars: ✭ 149 (-9.15%)
Mutual labels:  password
Pwgen
macOS password generator
Stars: ✭ 130 (-20.73%)
Mutual labels:  password
Hibp
A composer package to verify if a password was previously used in a breach using Have I Been Pwned API.
Stars: ✭ 126 (-23.17%)
Mutual labels:  password
Is my password pwned
How often does your password appear in the Pwned Passwords database? Uses the k-anonymity API.
Stars: ✭ 148 (-9.76%)
Mutual labels:  password
Password4j
Password4j is a user-friendly cryptographic library that supports Argon2, Bcrypt, Scrypt, PBKDF2 and various cryptographic hash functions.
Stars: ✭ 124 (-24.39%)
Mutual labels:  password
Karma
Find leaked emails with your passwords
Stars: ✭ 154 (-6.1%)
Mutual labels:  password
Gosecretsdump
Dump ntds.dit really fast
Stars: ✭ 122 (-25.61%)
Mutual labels:  password
H8mail
Email OSINT & Password breach hunting tool, locally or using premium services. Supports chasing down related email
Stars: ✭ 2,163 (+1218.9%)
Mutual labels:  password
Rpassword
Cross platform Rust library to read a password in the terminal (Linux, BSD, OSX, Windows).
Stars: ✭ 137 (-16.46%)
Mutual labels:  password
Passw0rd
🔑securely checks a password to see if it has been previously exposed in a data breach
Stars: ✭ 159 (-3.05%)
Mutual labels:  password

PinEditTextField for Android

Download Android Arsenal

This repository contains PinEditTextField that provides Pin Field widget for android with Paste Functionality which no other library provides.

PinEntryEditText   

Features

  • Configure 3 different types of Pin Field Views to your app.
  • Allow your users to paste the characters into your Pin Field which no other library provides
  • Support for showing hint in your Pin Fields
  • Customize the number of fields you will be requiring.
  • Highlight in 4 ways - All the fields, Only Current Field, All Completed Fields, None of the fields.
  • Enable or disable cursor to your Pin Fields.
  • Curve the edges in your Square Pin Field view.
  • Customize the distance between your Pin Fields.
  • Set custom distance between your line and text Line Pin Field.
  • Keep the keyboard open or closed after the Text is entered.
  • Mask your passwords properly.
  • Use any type of keyboard you would like for the View.
  • Highly configurable with many attributes for your View.

Setup

Gradle

  • Project level build.gradle
allprojects {
    repositories {
        jcenter()
    }
}
  • App level build.gradle
dependencies {
    implementation 'com.poovam:pin-edittext-field:1.2.3'
}

Usage

    <com.poovam.pinedittextfield.LinePinField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:inputType="text"
        android:textSize="16sp"
        app:highlightType="allFields" //currentField|completedFields|noFields (applicable to all types of Pin Fields)
        android:textSelectHandle="@drawable/text_handle" // recommended
        app:noOfFields="4"              
        app:distanceInBetween="10dp"  // custom distance can be provided in between fields (applicable to all types of Pin Fields)                                               
        app:fieldColor="@color/colorPrimary"  // custom color can be provided (applicable to all types of Pin Fields)
        app:highlightColor="@color/colorAccent" // custom color can be provided (applicable to all types of Pin Fields)
        app:lineThickness="5dp" // line thickness can be provided (applicable to all types of Pin Fields)                                              
        app:isCustomBackground="true" // to be set to true when background is set (applicable to all types of Pin Fields)
        app:isCursorEnabled="true" // to be set to true if cursor is needed (applicable to only Square and Line Pin Fields)
        app:bottomTextPaddingDp="15dp" // distance between line and the text (applicable only for Line Pin Fields)
        android:background="@color/colorPrimary"
        android:id="@+id/lineField"/>

    <com.poovam.pinedittextfield.SquarePinField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:inputType="text"
        android:textSize="16sp"
        app:cornerRadius="10dp" // Will make the square curved on the edges (applicable only for Square Pin Fields)
        app:fieldBgColor="#ddd" // Will color the background of the field (applicable for Square and Circle Pin Fields)
        app:noOfFields="4"                                                
        android:textSelectHandle="@drawable/text_handle" // recommended
        android:id="@+id/squareField"
        android:layout_marginTop="15dp"/>

    <com.poovam.pinedittextfield.CirclePinField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:inputType="text"
        app:noOfFields="4"                                                
        android:textSize="16sp"
        android:textSelectHandle="@drawable/text_handle" // recommended
        app:circleRadius="15dp" // radius of the circle  (applicable only to Circle Pin Field)                         
        app:fillerRadius="2dp" // radius of the inside circle shown when text is entered (applicable only to Circle Pin Field)  
        app:fillerColor="@color/colorPrimary" // color that can be provided inside circle  (applicable only to Circle Pin Field)
        app:fieldBgColor="#ddd" // Will color the background of the field (applicable for Square and Circle Pin Fields)
        android:id="@+id/circleField"/>

Listen to your Pin Field

final LinePinField linePinField = findViewById(R.id.lineField);
linePinField.setOnTextCompleteListener(new PinField.OnTextCompleteListener() {
    @Override
    public boolean onTextComplete (@NotNull String enteredText) {
        Toast.makeText(MainActivity.this,enteredText,Toast.LENGTH_SHORT).show();
        return true; // Return false to keep the keyboard open else return true to close the keyboard
    }
});

Thank You ❤️

  • chimzycash - For the amazing logo you contributed!

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].