Skip to content

Commit 17c92d6

Browse files
authored
Update README.md
1 parent 9cafceb commit 17c92d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Use it via xml
3030
android:layout_marginBottom="16dp"
3131
android:maxLines="3"
3232
android:textColor="@android:color/black"
33-
app:ellipsizeColor="@android:color/holo_green_dark"
33+
app:ellipsizeColor="@android:color/white"
3434
app:ellipsizeText="...More"/>
3535
```
3636

3737
Or you can make the same via code
3838

3939
```
40-
textView.setEllipsizeColor(ContextCompat.getColor(this, android.R.color.white));
40+
textView.setEllipsizeColor(ContextCompat.getColor(context, android.R.color.white));
4141
textView.setEllipsizeText("...More", Typeface.BOLD); // Yeah, you can change ellipsize textStyle ;)
4242
```
4343

0 commit comments

Comments
 (0)