🔑A customizable EditText for Android with a switchable eye which shows or hides the password

Overview

Sweet Password

HitCount API VERSION MIT license

A customizable password component for Android

Setup

Gradle

repositories {
    jCenter()
}

dependencies {
    compile 'mx.jesusmartinoza:sweet-password:0.2'
}

Usage

<mx.jesusmartinoza.widget.SweetPassword
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

Available attributes

All attributes are optional

<mx.jesusmartinoza.widget.SweetPassword
    android:layout_width="match_parent"
    android:layout_height="wrap_content"

    app:eye_color="#6D214F"
    app:iris_color="#25CCF7"
    app:anim_duration="400"
    app:password_hint="Password" />
Attribute Description Default
eye_color Sets color border of the eye Theme color accent
iris_color Sets iris color Theme color accent
anim_duration Time to open/close the eye 280ms
password_hint Hint for edit text Password

Set interpolator and animation duration

By default the interpolator is DecelerateInterpolator but you can change by anyone you want

SweetPassword sweetPassword = findViewById(R.id.my_sweetpassword);

sweetPassword.setInterpolator(new BounceInterpolator());
sweetPassword.setAnimDuration(700);

License

    The MIT License (MIT)

    Copyright (c) 2018 Jesús Alberto Martínez Mendoza(@jesusmartinoza)

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

You might also like...
Androids EditText that animates the typed text. EditText is extended to create AnimatedEditText and a PinEntryEditText.
Androids EditText that animates the typed text. EditText is extended to create AnimatedEditText and a PinEntryEditText.

AnimatedEditText for Android This repository contains AnimatedEditText and TextDrawable all of which extend the behaviour of EditText and implement fe

A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends!
A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends!

Meme Share A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends! Tech stack 100% wri

A webapp which generates a simple Discord profile banner image in real-time which shows user's status and activity.

DiscordProfileBanner This tool generates a Discord profile banner image in realtime. I wrote it for use in my AniList profile. An example in action: H

Fully customizable, built from scratch NumberPicker for android. Created as an alternative to non-customizable native android NumberPicker
Fully customizable, built from scratch NumberPicker for android. Created as an alternative to non-customizable native android NumberPicker

GoodNumberPicker GoodPicker is an Android library that provides a picker with customizable UI. It was developed as alternative to the default NumberPi

PasswordStrengthView - an android library to represent password strength.
PasswordStrengthView - an android library to represent password strength.

PasswordStrengthView - an android library to represent password strength.

Android-Java-App - Notepad app with user and password. SQL Lite
Android-Java-App - Notepad app with user and password. SQL Lite

DVNote2 App Android-Java-App Notepad app with user and password Application made in Android Studio with Java language and SQLite database. How does it

A password list optimized for use on Android devices.

AndroidPWList A small (1GB) password list optimized for use against Android device passwords. I do not condone, encourage, or support those who would

provide a animation when finished the password
provide a animation when finished the password

PasswordLoadingView Provide an animation when finished the password Looks like Usage Jcenter gradle compile 'com.roger.psdloadingview.library:Library:

A simple text encryption/decryption password based GUI+CLI tool

ZeText: Zero disk exposition texts This is a simple text encryption/decryption password based GUI+CLI tool, allowing to enter, edit and decrypt files

You can store all your password, bank details, card details in one place and remember only one master PIN. The application works totally offline.
You can store all your password, bank details, card details in one place and remember only one master PIN. The application works totally offline.

Keep Password An application where you can store all your password, bank details, card details in one place and remember only one master PIN. The appl

Keepass2Android is a password manager app.

Keepass2Android What is Keepass2Android? Keepass2Android is a password manager app. It allows to store and retrieve passwords and other sensitive info

Strong-bax - An open source password manager project
Strong-bax - An open source password manager project

What is strong-bax? Strong-bax is an open source password manager project. Stron

LoginValidation - A simple login app with password validation
LoginValidation - A simple login app with password validation

LoginValidation A simple login app with password validation License Copyright 20

Duress password trigger.
Duress password trigger.

Duress Duress password trigger. Tiny app to listen for a duress password on the lockscreen. When found, it will send a broadcast message to the select

A Secure Password Generator designed with security precautions for the user's data

GenPass GenPass is a secure password generating application designed with a high level of security. It uses Java Security library to generate strong p

Waple helps you share your Wi-Fi password quickly.💭🧇
Waple helps you share your Wi-Fi password quickly.💭🧇

waple Waple helps you share your Wi-Fi password quickly. 💭 🧇 Production intention 📚 Wi-Fi passwords are usually complicated for security purposes.

An android application which shows usage of various jetpack libraries built by the android team
An android application which shows usage of various jetpack libraries built by the android team

JetPacker JetPacker is an android application which implements various jetpack libraries created by the android team. FEATURES - (Will be updated as m

Android app which shows the information on animes and their characters
Android app which shows the information on animes and their characters

Anime-app Android app which shows the information on animes and their characters Requirements To try out this app, you need to use Android Studio Arct

MovieLibrary -An android application which uses tmdb API to fetch the data for various movies and TV Shows
MovieLibrary -An android application which uses tmdb API to fetch the data for various movies and TV Shows

MovieLibrary -An android application which uses tmdb API to fetch the data for various movies and TV Shows

Owner
Jesús Alberto Martínez Mendoza
🚩GitHub Campus Expert • 📱 Flutter developer • 🤖 Overflow AI • Omdena Collaborator
Jesús Alberto Martínez Mendoza
🗣 An overlay that gets your user’s voice permission and input as text in a customizable UI

Overview Voice overlay helps you turn your user's voice into text, providing a polished UX while handling for you the necessary permission. Demo You c

Algolia 228 Nov 25, 2022
Android Floating Label

FloatingLabel FloatingLabel Allows you to create a blow kind of EditText. To explain the concept well I have taken below image from http://dribbble.co

Hardik Trivedi 290 Nov 30, 2022
Material Design Search Bar for Android

Material SearchBar Android Material Design Search Bar for Android This beautiful and easy to use library will help to add Lollipop Material Design Sea

Mansour 2k Dec 28, 2022
A custom EditText with a switchable icon which shows or hides the password

Deprecated This library is deprecated now as there is an official way to use the password toggle with the TextInputLayout (inside the support library

Maksim 430 Nov 20, 2022
A Material Android password view that toggles password visibility via an eye icon.

8/17/2016: As of about an hour ago, this library is deprecated! Support for password visibility is now included in the Design Support Library in TextI

Lisa Wray 715 Dec 29, 2022
Chips EditText, Token EditText, Bubble EditText, Spannable EditText and etc.. There are many names of this control. Here I develop easy to understand , modify and integrate Chips Edit Text widget for Android

Chips EditText Library Chips EditText, Token EditText, Bubble EditText, Spannable EditText and etc.. There are many names of this control. Here I deve

kpbird 381 Nov 20, 2022
Rn-scratch-card - React Native Scratch Card which temporarily hides content from user

rn-scratch-card React Native Scratch Card which temporarily hides content from a

Sweatcoin 54 Jan 4, 2023
An Android app that gives you a password generated by a given phrase with a custom algorithm, it also has password and biometric security.

An Android app that gives you a password generated by a given phrase with a custom algorithm, it also has password and biometric security.

Marcos Ariel Paccor 1 May 23, 2022
A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customizability.

PassCodeText A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customi

Swapnil Tiwari 107 Nov 16, 2022
Android form edit text is an extension of EditText that brings data validation facilities to the edittext.

Android Form EditText Android form edit text is an extension of EditText that brings data validation facilities to the edittext. Example App I built a

Andrea 1.5k Dec 14, 2022