Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

ek68794998/asterisk-password-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Android: Asterisk Password Field

⚠️ This project was build for very outdated versions of Android and is no longer updated.

Based on a question I answered on StackOverflow, I thought it would be a good idea to put this out in public for everyone to see.

This is an example of PasswordTransformationMethod that, in a password field, would display a paradigmic asterisk *, instead of the generic dot •.

Usage

If text were a TextView variable, preferably an EditText, you would call the method using this:

text.setTransformationMethod(new AsteriskPasswordTransformationMethod());

About

A code snippet for replacing the dot (•) with an asterisk (*) in Android password fields.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages