Skip to content

Commit e41ecbe

Browse files
committed
updated README.md
1 parent 5777544 commit e41ecbe

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,22 @@ I have provided string resources for simpler usage.
9090
Suppose you want the rounded underline option to be displayed. Then, please add:
9191
`app:oev_box_style="@string/style_rounded_underline" ` in the OtpEditText xml code.
9292

93+
### Masking input characters with Asterisk.
94+
Functionality to mask the input with any special character has been introduced.
95+
To mask the input;
96+
```
97+
app:oev_mask_input="true"
98+
```
99+
xml property must be introduced in the XML layout file.
100+
101+
#### Masking with any other special character.
102+
To mask input with any character other than `*` you can do the following;
103+
```
104+
app:oev_mask_character="ø"
105+
```
106+
107+
P.S. Please note that, in case of masking with a special character other than `*`, specify string with length one, otherwise the input string will be truncated to length 1.
108+
93109
## For optimum usage; Please note.
94110
* Specify `android:textSize` according to your needs.
95111
* Specify `android:padding` according to your needs, there are no paddings drawn by default.

0 commit comments

Comments
 (0)