# PasswordStrengthView
This is an android library to represent password strength.
# Preview
<img width="194" alt="Empty" src="https://user-images.githubusercontent.com/46835920/125243912-8989fb00-e2a3-11eb-90af-73b6282686ce.png"> <img width="194" alt="Ok" src="https://user-images.githubusercontent.com/46835920/125243918-8abb2800-e2a3-11eb-9819-b3d7065b0a10.png"> <img width="194" alt="Easy" src="https://user-images.githubusercontent.com/46835920/125243907-8858ce00-e2a3-11eb-8ee0-5eea043b4394.png">
<img width="194" alt="Medium" src="https://user-images.githubusercontent.com/46835920/125243915-8a229180-e2a3-11eb-87c2-838b0875badb.png"> <img width="194" alt="Strong" src="https://user-images.githubusercontent.com/46835920/125243920-8b53be80-e2a3-11eb-889c-80ecfa7a43a3.png"> <img width="194" alt="VStrong" src="https://user-images.githubusercontent.com/46835920/125243925-8bec5500-e2a3-11eb-96aa-27f7e7a26779.png">
# How to use?
Add maven to your project gradle file
```java
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Add dependency in your app gradle file.
```java
implementation 'com.github.RHSaliya:PasswordStrengthView:1.5'
```
Add view on your layout
```xml
<com.rhs.psw.PasswordStrengthView
android:id="@+id/passwordSV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="24sp"
app:indicatorWidth="16dp"
app:empty_color="#ddd"/>
```
Attatch EditText directly
```java
passwordSV.attachEditText(keyET);
```
or use update method
```java
passwordSV.update(String password);
```
To just calculate strength
```java
Calculator calculator = new Calculator();
calculator.initScores(10,20,30,40);
calculator.calculate("Password",Calculator.INCREMENTAL);
```
没有合适的资源?快使用搜索试试~ 我知道了~
这是一个表示密码强度的android库。_Java_下载.zip
共59个文件
xml:22个
png:10个
java:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 156 浏览量
2023-04-15
09:31:25
上传
评论
收藏 171KB ZIP 举报
温馨提示
这是一个表示密码强度的android库。_Java_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
这是一个表示密码强度的android库。_Java_下载.zip (59个子文件)
PasswordStrengthView-main
gradle.properties 1003B
gradle
wrapper
gradle-wrapper.jar 53KB
gradle-wrapper.properties 232B
app
src
androidTest
java
com
rhs
psw
ExampleInstrumentedTest.java 736B
test
java
com
rhs
psw
ExampleUnitTest.java 372B
main
java
com
rhs
psw
MainActivity.java 1KB
res
mipmap-xxhdpi
ic_launcher_round.png 12KB
ic_launcher.png 8KB
mipmap-hdpi
ic_launcher_round.png 5KB
ic_launcher.png 4KB
drawable-v24
ic_launcher_foreground.xml 2KB
mipmap-anydpi-v26
ic_launcher.xml 272B
ic_launcher_round.xml 272B
values-night
themes.xml 826B
mipmap-mdpi
ic_launcher_round.png 3KB
ic_launcher.png 3KB
mipmap-xxxhdpi
ic_launcher_round.png 16KB
ic_launcher.png 10KB
mipmap-xhdpi
ic_launcher_round.png 7KB
ic_launcher.png 5KB
values
colors.xml 378B
strings.xml 126B
themes.xml 826B
layout
activity_main.xml 3KB
drawable
ic_launcher_background.xml 5KB
AndroidManifest.xml 709B
proguard-rules.pro 750B
build.gradle 1KB
.gitignore 6B
LICENSE 34KB
gradlew.bat 2KB
build.gradle 539B
.idea
.name 6B
jarRepositories.xml 1KB
codeStyles
Project.xml 3KB
vcs.xml 180B
misc.xml 611B
compiler.xml 169B
gradle.xml 812B
.gitignore 47B
settings.gradle 74B
gradlew 5KB
.gitignore 225B
README.md 2KB
PasswordStrengthView
src
main
java
com
rhs
psw
Calculator.java 3KB
styles
Continuous.java 4KB
Discrete.java 5KB
PSVStyle.java 612B
PasswordStrengthView.java 5KB
res
values
colors.xml 814B
attrs.xml 1KB
AndroidManifest.xml 135B
proguard-rules.pro 750B
build.gradle 1001B
consumer-rules.pro 0B
.gitignore 6B
values
colors.xml 378B
strings.xml 68B
themes.xml 828B
共 59 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功