File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 " />  ; <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 " />  ; <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
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"
4646```
47474 . 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
You can’t perform that action at this time.
0 commit comments