Skip to content

Commit cd4868a

Browse files
authored
DOCS : Add Small clarifications and missing brace
1 parent 945a506 commit cd4868a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.MD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ app:csEndDrawableVisible"true | false"
149149
app:csTopDrawableVisible"true | false"
150150
app:csBottomDrawableVisible"true | false"
151151
```
152+
(default is true)
152153

153154
#### Code
154155

@@ -170,7 +171,7 @@ Create a ```CsDrawable``` object using the builder class
170171
```java
171172
CsDrawable csDrawable = new CsDrawable.Builder(this, R.drawable.ic_close_red_24dp)
172173
.setDrawableDpSize(30, 30) //or .setDrawablePixelSize(width, height) for pixel
173-
.setVisibility(false)
174+
.setVisibility(false) //optional, default true
174175
.build();
175176
```
176177

@@ -212,6 +213,7 @@ viewInstance.setOnDrawableClickListener(new OnDrawableClickListener() {
212213
switch (position){
213214
case START: startDrawableClicked(); break;
214215
case END: endDrawableClicked(); break;
216+
}
215217
}
216218
});
217219
```

0 commit comments

Comments
 (0)