Skip to content

Commit 2749251

Browse files
[+] Updated readme and added screenshots
1 parent 86c8179 commit 2749251

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
99

1010
## Preview of EditDrawableText
11-
<img src="https://github.com/MindorksOpenSource/EditDrawableText/blob/master/app/src/main/assets/sample1.jpg?raw=true" height="300em" />&nbsp;<img src="https://github.com/MindorksOpenSource/EditDrawableText/blob/master/app/src/main/assets/sample2.jpg?raw=true" height="300em" />
11+
<img src="https://github.com/MindorksOpenSource/EditDrawableText/blob/master/app/src/main/assets/sample1.jpg?raw=true" height="300em" />&nbsp;<img src="https://github.com/MindorksOpenSource/EditDrawableText/blob/master/app/src/main/assets/sample2.jpg?raw=true" height="300em" />&nbsp;<img src="https://github.com/pranaypatel512/EditDrawableText/blob/development/app/src/main/assets/sample3.jpg?raw=true" height="300em" />&nbsp;<img src="https://github.com/pranaypatel512/EditDrawableText/blob/development/app/src/main/assets/sample4.jpg?raw=true" height="300em" />
1212

1313

1414
### Overview of EditDrawableText library
@@ -35,7 +35,7 @@
3535

3636
```XML
3737
<com.mindorks.editdrawabletext.EditDrawableText
38-
android:id="@+id/drawable_editText_left"
38+
android:id="@+id/drawableEditTextLeft"
3939
android:layout_width="match_parent"
4040
android:layout_height="wrap_content"
4141
android:drawableLeft="@drawable/ic_remove_red_eye_black_24dp"
@@ -46,7 +46,7 @@
4646
```
4747
4. Make the drawable clickable in Activity file,
4848
```kotlin
49-
drawable_editText.setDrawableClickListener(object : onDrawableClickListener {
49+
drawableEditText.setDrawableClickListener(object : OnDrawableClickListener {
5050
override fun onClick(target: DrawablePosition) {
5151
when (target) {
5252
DrawablePosition.RIGHT -> //YOUR_LOGIC

app/src/main/assets/sample3.png

65 KB
Loading

app/src/main/assets/sample4.png

66.6 KB
Loading

0 commit comments

Comments
 (0)