{"id":23101431,"url":"https://github.com/poppsya/cutabletextview","last_synced_at":"2026-05-01T06:31:23.831Z","repository":{"id":143525661,"uuid":"137648448","full_name":"PopPsyA/CutableTextView","owner":"PopPsyA","description":"CutableTextView -  the super lightweight library that helps to you cut long text. ✂️","archived":false,"fork":false,"pushed_at":"2019-08-29T15:55:19.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T04:35:47.685Z","etag":null,"topics":["android","android-library","android-textview","android-view","custom-view","java","textview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PopPsyA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-17T11:00:35.000Z","updated_at":"2019-08-29T15:55:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5be680b5-7087-4bdf-8ba4-0996d0811125","html_url":"https://github.com/PopPsyA/CutableTextView","commit_stats":null,"previous_names":["devit951/cutabletextview"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PopPsyA/CutableTextView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FCutableTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FCutableTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FCutableTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FCutableTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PopPsyA","download_url":"https://codeload.github.com/PopPsyA/CutableTextView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FCutableTextView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","android-textview","android-view","custom-view","java","textview"],"created_at":"2024-12-16T23:51:51.311Z","updated_at":"2026-05-01T06:31:23.813Z","avatar_url":"https://github.com/PopPsyA.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![cutable_text_view_icon](https://user-images.githubusercontent.com/21290800/42930330-2087c3f0-8b56-11e8-8f4f-b488cbbf702c.png)\n\n\n[![badge android platform](https://camo.githubusercontent.com/4e7c3559fec3db6e04cd6d800d00fe6515f75260/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d616e64726f69642d627269676874677265656e2e737667)](https://developer.android.com/)\n[![badge v0.0.1](https://camo.githubusercontent.com/872e8e7b7893bb2335c27be1f7cac90227dfd255/68747470733a2f2f62616467652e667572792e696f2f67682f626f656e6e656d616e6e2532466261646765732e737667)](https://github.com/Devit951/Mediateka/releases)\n\nAn easy to use **CutableTextView** when you need to cut a long text. ✂️ ✂️ ✂️\n\n\n![videotogif_2018 06 27_14 36 36](https://user-images.githubusercontent.com/21290800/41968497-17ca7814-7a1e-11e8-942e-30ce624829b9.gif)\n\n\n## Gradle\n```\ndependencies {\n    implementation 'com.github.devit951:cutabletextview:0.0.1'\n    ...\n}\n```\n\n## Usage\n```\n   \u003ccom.david.cutabletextview.CutableTextView\n        android:id=\"@+id/ctv_sample\"\n        android:layout_margin=\"16dp\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"Some loooooooooooooooooooooooooooooooooooooooooooooooong text\"\n        app:ctv_lines_to_cut=4\"/\u003e\n        \n```\n\n## Attributes\n`app:ctv_lines_to_cut=` cuts as many lines as you want (default 4).\n\nIf you want change this value programmatically , call this method `CutableTextView#setLinesToCut(int lines);`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoppsya%2Fcutabletextview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoppsya%2Fcutabletextview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoppsya%2Fcutabletextview/lists"}