Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ghasemdev committed Feb 22, 2021
2 parents 5beb1e1 + 35b1e13 commit 3155019
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# VerifyCodeEditText

***
[![Release](https://img.shields.io/github/release/jakode2020/VerifyCodeEditText.svg?style=flat)](https://jitpack.io/#jakode2020/VerifyCodeEditText)
[![Kotlin Version](https://img.shields.io/badge/kotlin-1.4.30-ff8a0d.svg)](https://kotlinlang.org)
[![API](https://img.shields.io/badge/API-17%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=17)
Expand All @@ -11,9 +10,10 @@ The use of verify code edit text is to get a one-time code from the user,
There is no default edit text in Android to get a one-time use code.<br>
That's why I decided to build a library so that both xml and kotlin could create such input :)

[1]
![alt text][1]

### Gradle Setup

***
```gradle
repositories {
Expand All @@ -26,14 +26,14 @@ dependencies {
```

## Usage
***

### XML

```
<com.jakode.verifycodeedittext.VerifyCodeEditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layoutDirection="ltr" (RTL language need this fiels)
android:layoutDirection="ltr" (RTL language need this field)
android:paddingBottom="12dp"
app:BottomErrorIcon="@drawable/bottom_error_icon"
app:BottomIconHeight="2dp"
Expand Down Expand Up @@ -61,7 +61,7 @@ change bottom drawable state
verifyCodeEditText.resetCodeItemLineDrawable()
```

[2]
![alt text][2]

set / get text
```
Expand Down Expand Up @@ -94,7 +94,7 @@ set / get text
### License
***
```
Copyright Jakode2020
Copyright 2021 Jakode2020
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -110,4 +110,4 @@ limitations under the License.
```

[1]: ./art/Screenshot.png
[2]: ./art/ScreenshotError.png
[2]: ./art/ScreenshotError.png

0 comments on commit 3155019

Please sign in to comment.