Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thenishchalraj/passwordstrengthbar

An android library to show the password strength using four strength bars with colours set for each and methods available to play with strength of bars.
https://github.com/thenishchalraj/passwordstrengthbar

android android-application android-development android-library android-ui custombar hacktoberfest java password-strength passwordstrengthbar-library strength-bars

Last synced: 3 months ago
JSON representation

An android library to show the password strength using four strength bars with colours set for each and methods available to play with strength of bars.

Awesome Lists containing this project

README

        



# Password Strength Bar

### See the strength of your password through separated strength bars




Recommend me on LinkedIn

## Preview of PasswordStrengthBar
    

### Overview of PasswordStrengthBar library
* Can be used to see password strength
* Freely set the colour of the strength bars

## Using PasswordStrengthBar Library in your Android application

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

```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
2. Add this in your app's build.gradle

```groovy
dependencies {
implementation 'com.github.thenishchalraj:PasswordStrengthBar:Tag'
}
```
3. To use this in XML File, use

```XML

```
3. Methods of use with variable of PasswordStrengthBar

```
//initialize or declare
PasswordStrengthBar passwordStrengthBar;
...
//methods available
setStrengthColor(int noStrengthColor, int color1, int color2, int color3, int color4)
getMaxStrength()
getMinStrength()
setMaxStrength(int max)
setMinStrength(int min)
getStrength()
setStrength(int strength)
//

```
### TODO
* More features related to Password and Strength bars' functionality.
* Vertical password strength bars.

## If this library helps you in anyway, show your love :heart: by putting a :star: on this project :v:

## To learn how to write your own Android Library
Follow [this](https://medium.com/mindorks/want-to-write-your-first-android-library-7bba6ca4e0c5) medium link and start today.

### Contributing to PasswordStrengthBar
Fork and make your changes/improvements.
All pull requests are welcome in the dev branch.
Note: do not send requests directly to master.