https://github.com/poppsya/cutabletextview
CutableTextView - the super lightweight library that helps to you cut long text. ✂️
https://github.com/poppsya/cutabletextview
android android-library android-textview android-view custom-view java textview
Last synced: 19 days ago
JSON representation
CutableTextView - the super lightweight library that helps to you cut long text. ✂️
- Host: GitHub
- URL: https://github.com/poppsya/cutabletextview
- Owner: PopPsyA
- License: apache-2.0
- Created: 2018-06-17T11:00:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T15:55:19.000Z (over 5 years ago)
- Last Synced: 2025-02-22T10:31:51.806Z (about 2 months ago)
- Topics: android, android-library, android-textview, android-view, custom-view, java, textview
- Language: Java
- Homepage:
- Size: 109 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://developer.android.com/)
[](https://github.com/Devit951/Mediateka/releases)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);`