An easy to use CutableTextView when you need to cut a long text.
Gradle
dependencies {
implementation 'com.github.devit951:cutabletextview:0.0.1'
...
}
Usage
Attributes
app:ctv_lines_to_cut=
cuts as many lines as you want (default 4).
If you want change this value programmatically , call this method CutableTextView#setLinesToCut(int lines);