Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanks-zyh/HTextView
Animation effects to text, not really textview
https://github.com/hanks-zyh/HTextView
android animation-effects animations textview
Last synced: about 1 month ago
JSON representation
Animation effects to text, not really textview
- Host: GitHub
- URL: https://github.com/hanks-zyh/HTextView
- Owner: hanks-zyh
- License: apache-2.0
- Created: 2015-12-19T16:34:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T03:48:05.000Z (over 3 years ago)
- Last Synced: 2024-11-03T22:09:18.316Z (about 1 month ago)
- Topics: android, animation-effects, animations, textview
- Language: Java
- Homepage:
- Size: 9.42 MB
- Stars: 5,624
- Watchers: 132
- Forks: 809
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - HTextView - 支持自定义字体的TextView动画效果 (TextView)
- awesome-android-ui - https://github.com/hanks-zyh/HTextView
- awesome-android-ui - https://github.com/hanks-zyh/HTextView
README
# HTextView
Animation effects with custom font support to TextView![](https://img.shields.io/hexpm/l/plug.svg)
![](https://img.shields.io/badge/Platform-Android-brightgreen.svg)
![](https://img.shields.io/badge/Android-CustomView-blue.svg)see [iOS Effects](https://github.com/lexrus/LTMorphingLabel)
see [Flutter Effects](https://github.com/HitenDev/flutter_effects)---
## Screenshot
| type | gif |
| :-- | :-- |
| Scale | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo3.gif) |
| Evaporate | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo5.gif) |
| Fall | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo6.gif) |
| Line | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo7.gif) |
| Typer | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/typer.gif) |
| Rainbow | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/rainbow.gif) |
| Fade | ![](https://github.com/hanks-zyh/HTextView/blob/master/screenshot/fade.gif) |## Usage
```
def htextview_version = "0.1.6"
// as 3.0 use implementation
compile "com.hanks:htextview-base:$htextview_version" // base librarycompile "com.hanks:htextview-fade:$htextview_version" // optional
compile "com.hanks:htextview-line:$htextview_version" // optional
compile "com.hanks:htextview-rainbow:$htextview_version" // optional
compile "com.hanks:htextview-typer:$htextview_version" // optionalcompile "com.hanks:htextview-scale:$htextview_version" // optional
compile "com.hanks:htextview-evaporate:$htextview_version" // optional
compile "com.hanks:htextview-fall:$htextview_version" // optional
```### line
```
```
### fade
```
```
### typer
```
```
### rainbow
```
```
### scale (single line)
```
```
### evaporate (single line)
```
```
### fall (single line)
```
```
## Third Party Bindings
### React Native
You 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)## License
This library is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
See [`LICENSE`](LICENSE) for full of the license text.
Copyright (C) 2015 [Hanks](https://github.com/hanks-zyh)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.