{"id":13604279,"url":"https://github.com/bravoborja/ReadMoreTextView","last_synced_at":"2025-04-11T23:32:12.636Z","repository":{"id":50736650,"uuid":"56450170","full_name":"bravoborja/ReadMoreTextView","owner":"bravoborja","description":"A Custom TextView with trim text","archived":false,"fork":false,"pushed_at":"2020-04-12T01:14:12.000Z","size":642,"stargazers_count":1704,"open_issues_count":35,"forks_count":231,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-04-08T12:11:12.160Z","etag":null,"topics":["android","android-library","custom","java","readmoretextview","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/bravoborja.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}},"created_at":"2016-04-17T17:49:16.000Z","updated_at":"2025-04-03T11:58:11.000Z","dependencies_parsed_at":"2022-09-12T10:41:53.754Z","dependency_job_id":null,"html_url":"https://github.com/bravoborja/ReadMoreTextView","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bravoborja%2FReadMoreTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bravoborja%2FReadMoreTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bravoborja%2FReadMoreTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bravoborja%2FReadMoreTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bravoborja","download_url":"https://codeload.github.com/bravoborja/ReadMoreTextView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248495098,"owners_count":21113570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","custom","java","readmoretextview","textview"],"created_at":"2024-08-01T19:00:42.783Z","updated_at":"2025-04-11T23:32:07.622Z","avatar_url":"https://github.com/bravoborja.png","language":"Java","readme":"# ReadMoreTextView\n\nA Custom TextView with trim text\n\n## Download\nTo add the ReadMoreTextView library to your Android Studio project, simply add the following gradle dependency:\n```java\ncompile 'com.borjabravo:readmoretextview:2.1.0'\n```\n\n## Usage\n\nTo use the ReadMoreTextView on your app, add the following code to your layout:\n\n```xml\n\u003ccom.borjabravo.readmoretextview.ReadMoreTextView\n    android:id=\"@+id/text_view\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"/\u003e\n```    \n\nYou can customize ReadMoreTextView with:\n\n- app:trimExpandedText: Text that appears when the view is expanded.\n- app:trimCollapsedText: Text that appears when the view is collapsed.\n- app:trimLength: Trim length to determine when the clickable text is displayed.\n- app:showTrimExpandedText: Show the trim text if it's true. \n- app:colorClickableText: Text color of trim clickable text.\n- app:trimMode: Choose trim mode with two options: trimModeLength or trimModeLines.\n\n## Screenshots\n\n![screenshot](screenshots/collapsed.png)\n![screenshot](screenshots/expanded.png)\n\nLicense\n=======\n\n    Copyright 2016 Borja Bravo\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbravoborja%2FReadMoreTextView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbravoborja%2FReadMoreTextView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbravoborja%2FReadMoreTextView/lists"}