# PasswordEditText
**Repository Path**: applibgroup/PasswordEditText
## Basic Information
- **Project Name**: PasswordEditText
- **Description**: Custom TextField to show/hide password with icon
- **Primary Language**: Java
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-10-13
- **Last Updated**: 2022-01-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://github.com/applibgroup/PasswordEditText/actions/workflows/main.yml)
[](https://sonarcloud.io/dashboard?id=applibgroup_PasswordEditText)
# PasswordEditText
Custom TextField to show/hide password with customizable icon.
# Source
This library has been inspired by [anshulagarwal06\\PasswordEditText](https://github.com/anshulagarwal06/PasswordEditText).
## Integration
1. For using PasswordEditText module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har.
```
implementation project(path: ':library')
```
2. For using PasswordEditText module in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file.
```
implementation fileTree(dir: 'libs', include: ['*.har'])
```
3. For using PasswordEditText module from a remote repository in separate application, add the below dependencies in entry/build.gradle file.
```
implementation 'dev.applibgroup:passwordedittext:1.0.0'
```
# How to use
```groovy
```
Instead of drawable you can also use Text
```groovy
```
# Customise
* `ohos:show_drawable="$media:show_password"`
* `ohos:hide_drawable="$media:hide_password"`
Defualt Password Visiblity can be set using attr
* `ohos:password_visible="true"`
That's it build your project.