File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ Custom EditTextView to show/hide password with customizable icon.
55
66# How to use
77
8+
89``` groovy
10+
911 <in.anshul.libray.PasswordEditText
1012 android:layout_width="match_parent"
1113 android:layout_height="wrap_content"
@@ -14,7 +16,16 @@ Custom EditTextView to show/hide password with customizable icon.
1416 android:hint="Confirm password"
1517 app:show_drawable="@drawable/show_password" />
1618```
19+ Instead of drawable you can also use Text
20+ ``` groovy
21+
1722
23+ <in.anshul.libray.PasswordEditText
24+ ...
25+ app:show_as_text="true"
26+ app:show_text="@string/show_text"
27+ app:hide_text="@string/hide_text"/>
28+ ```
1829# Customise
1930
2031 * ` app:show_drawable="@drawable/show_password" `
@@ -44,7 +55,7 @@ After that you can easily include the library in your **app** `build.gradle`:
4455
4556``` groovy
4657dependencies {
47- compile 'com.github.anshulagarwal06:PasswordEditText:v0.1 '
58+ compile 'com.github.anshulagarwal06:PasswordEditText:v1.0 '
4859 }
4960```
5061
You can’t perform that action at this time.
0 commit comments