Skip to content

🎀 SuperTextView for Android 是一个在TextView的基础上扩展了几种动画效果的控件。

License

Notifications You must be signed in to change notification settings

jenly1314/SuperTextView

Repository files navigation

SuperTextView

Download Jitpack API License

SuperTextView for Android 是一个在TextView的基础上扩展了几种动画效果的控件。

Gif 展示

Image

你也可以直接下载 演示App 体验效果

引入

Gradle:

  1. 在Project的 build.gradlesetting.gradle 中添加远程仓库

    repositories {
        //...
        mavenCentral()
        maven { url 'https://jitpack.io' }
    }
  2. 在Module的 build.gradle 里面添加引入依赖项

    implementation 'com.github.jenly1314:SuperTextView:1.0.1'

使用

布局示例

<com.king.view.supertextview.SuperTextView
    android:id="@+id/superTextView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

代码示例(核心调用代码)

//设置动画的动态监听(动画结束后回调)
superTextView.setOnDynamicListener(OnDynamicListener onDynamicListener);
//设置动画的动态风格
supertextview.setDynamicStyle(DynamicStyle dynamicStyle);
//设置动画的动态文本
supertextview.setDynamicText(CharSequence text);
//开始动画
supertextview.start();

更多使用详情,请查看app中的源码使用示例或直接查看API帮助文档

赞赏

如果您喜欢SuperTextView,或感觉SuperTextView帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 😃

您也可以扫描下面的二维码,请作者喝杯咖啡 ☕

关于我

我的博客 GitHub Gitee CSDN 博客园
Jenly's Blog jenly1314 jenly1314 jenly121 jenly

联系我

微信公众号 Gmail邮箱 QQ邮箱 QQ群 QQ群
Jenly666 jenly1314 jenly1314 20867961 64020761