{"id":13644336,"url":"https://github.com/hanks-zyh/HTextView","last_synced_at":"2025-04-21T07:30:57.439Z","repository":{"id":41377430,"uuid":"48289337","full_name":"hanks-zyh/HTextView","owner":"hanks-zyh","description":"Animation effects to text, not really textview","archived":false,"fork":false,"pushed_at":"2021-05-07T03:48:05.000Z","size":9880,"stargazers_count":5624,"open_issues_count":44,"forks_count":809,"subscribers_count":132,"default_branch":"master","last_synced_at":"2024-11-03T22:09:18.316Z","etag":null,"topics":["android","animation-effects","animations","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/hanks-zyh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://paypal.me/YuhanZ?locale.x=zh_XC","https://raw.githubusercontent.com/hanks-zyh/HTextView/master/screenshot/donate.png"]}},"created_at":"2015-12-19T16:34:59.000Z","updated_at":"2024-11-02T04:45:16.000Z","dependencies_parsed_at":"2022-09-05T11:20:45.518Z","dependency_job_id":null,"html_url":"https://github.com/hanks-zyh/HTextView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FHTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FHTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FHTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanks-zyh%2FHTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanks-zyh","download_url":"https://codeload.github.com/hanks-zyh/HTextView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223036690,"owners_count":17077358,"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","animation-effects","animations","textview"],"created_at":"2024-08-02T01:02:01.468Z","updated_at":"2024-11-09T16:32:16.355Z","avatar_url":"https://github.com/hanks-zyh.png","language":"Java","readme":"# HTextView\nAnimation effects with custom font support to TextView\n\n![](https://img.shields.io/hexpm/l/plug.svg)\n![](https://img.shields.io/badge/Platform-Android-brightgreen.svg)\n![](https://img.shields.io/badge/Android-CustomView-blue.svg)\n\nsee [iOS Effects](https://github.com/lexrus/LTMorphingLabel)    \nsee [Flutter Effects](https://github.com/HitenDev/flutter_effects)\n\n\n---\n\n## Screenshot\n\n\n| type  | gif |\n| :-- | :-- |\n| Scale     | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo3.gif) |\n| Evaporate | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo5.gif) |\n| Fall      | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo6.gif) |\n| Line      | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo7.gif) |\n| Typer     |  ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/typer.gif) |\n| Rainbow   | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/rainbow.gif) |\n| Fade      | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/fade.gif) |\n\n## Usage\n\n\n```\ndef htextview_version = \"0.1.6\"\n// as 3.0 use implementation\ncompile \"com.hanks:htextview-base:$htextview_version\"        // base library\n\ncompile \"com.hanks:htextview-fade:$htextview_version\"        // optional\ncompile \"com.hanks:htextview-line:$htextview_version\"        // optional\ncompile \"com.hanks:htextview-rainbow:$htextview_version\"     // optional\ncompile \"com.hanks:htextview-typer:$htextview_version\"       // optional\n\ncompile \"com.hanks:htextview-scale:$htextview_version\"       // optional\ncompile \"com.hanks:htextview-evaporate:$htextview_version\"   // optional\ncompile \"com.hanks:htextview-fall:$htextview_version\"        // optional\n```\n\n\n### line\n\n```\n\u003ccom.hanks.htextview.line.LineTextView\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:gravity=\"right\"\n    android:paddingRight=\"10dp\"\n    android:text=\"This is LineTextView\\nToday is Monday\"\n    android:textSize=\"16sp\"\n    app:animationDuration=\"3000\"\n    app:lineColor=\"#1367bc\"\n    app:lineWidth=\"4dp\"/\u003e\n```\n\n### fade\n\n```\n\u003ccom.hanks.htextview.fade.FadeTextView\n    android:layout_width=\"240dp\"\n    android:layout_height=\"150dp\"\n    android:gravity=\"left\"\n    android:letterSpacing=\"0.08\"\n    android:lineSpacingMultiplier=\"1.3\"\n    android:text=\"This is FadeTextView\"\n    android:textColor=\"#fff\"\n    android:textSize=\"20sp\"\n    app:animationDuration=\"1500\"/\u003e\n```\n\n### typer\n\n```\n\u003ccom.hanks.htextview.typer.TyperTextView\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:text=\"this is init sentence.\"\n    app:charIncrease=\"3\"\n    app:typerSpeed=\"80\"/\u003e\n```\n\n### rainbow\n\n```\n\u003ccom.hanks.htextview.rainbow.RainbowTextView\n    android:layout_width=\"120dp\"\n    android:layout_height=\"wrap_content\"\n    android:gravity=\"right\"\n    android:text=\"this is init sentence\"\n    android:textSize=\"20sp\"\n    app:colorSpace=\"150dp\"\n    app:colorSpeed=\"4dp\"/\u003e\n```\n\n### scale (single line)\n\n```\n\u003ccom.hanks.htextview.scale.ScaleTextView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:text=\"this is init sentence\"\n    android:textSize=\"16sp\"/\u003e\n```\n\n\n### evaporate (single line)\n\n```\n\u003ccom.hanks.htextview.evaporate.EvaporateTextView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"100dp\"\n    android:gravity=\"center\"\n    android:paddingTop=\"8dp\"\n    android:text=\"this is init sentence\"\n    android:textSize=\"20sp\"/\u003e\n```\n\n### fall  (single line)\n\n```\n\u003ccom.hanks.htextview.fall.FallTextView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:paddingBottom=\"20dp\"\n    android:text=\"this is init sentence\"\n    android:textSize=\"16sp\"/\u003e\n```\n\n## Third Party Bindings\n\n### React Native\nYou may now use this library with [React Native](https://github.com/facebook/react-native) via the module [here](https://github.com/prscX/react-native-morphing-text)\n\n\n## License\n\nThis library is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nSee [`LICENSE`](LICENSE) for full of the license text.\n\n    Copyright (C) 2015 [Hanks](https://github.com/hanks-zyh)\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":["https://paypal.me/YuhanZ?locale.x=zh_XC","https://raw.githubusercontent.com/hanks-zyh/HTextView/master/screenshot/donate.png"],"categories":["TextView","Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanks-zyh%2FHTextView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanks-zyh%2FHTextView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanks-zyh%2FHTextView/lists"}