Animatable API介绍
public interface Animatable
android.graphics.drawable.Animatable |
Known indirect subclasses 非直接子类
|
Animatable2 Abstract class that drawables supporting animations and callbacks should extend.
支持动画和回调的drawables应该继承的类
AnimatedImageDrawable Drawable
for drawing animated images (like GIF).
绘制动图的drawable (比如:GIF)
AnimatedVectorDrawable This class animates properties of a VectorDrawable
with animations defined using ObjectAnimator
or AnimatorSet
.
这个类激活VectorDrawable的属性,VectorDrawable使用
ObjectAnimator或者 AnimatorSet定义动画
AnimationDrawable An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object's background.
用于创建一帧一帧的动画的对象,由一系列Drawables定义而成,用于View对象的背景。
Interface that drawables supporting animations should implement.
支持动画的drawables 应该实现的接口
Summary 总结
Public methods |
|
---|---|
abstract boolean
|
isRunning()
Indicates whether the animation is running. 表示动画是否正在运行 |
abstract void
|
start()
Starts the drawable's animation. 开启drawable的动画 |
abstract void
|
stop()
Stops the drawable's animation. 停止drawable的动画 |
Public methods
isRunning
boolean isRunning ()
Indicates whether the animation is running.
Returns | |
---|---|
boolean
|
True if the animation is running, false otherwise. True 如果动画正在执行的话,否则为false |
start
void start ()
Starts the drawable's animation.
开启drawables的动画
stop
void stop ()
Stops the drawable's animation.
停止drawables的动画
Animatable API介绍相关推荐
- HTML5 Audio标签方法和函数API介绍
问说网 > 文章教程 > 网页制作 > HTML5 Audio标签方法和函数API介绍 Audio APIHTML5HTML5 Audio预加载 HTML5 Audio标签方法和函 ...
- Servlet基础(一) Servlet基础和关键的API介绍
转载:http://www.cnblogs.com/mengdd/p/3202550.html Servlet基础(一) Servlet简介 关键API介绍及结合源码讲解 Servlet基础(一) S ...
- Socket基础API介绍
文章目录 1 Socket基础API介绍 1 Socket基础API介绍 我们先来看下使用Socket API建立简易TCP服务端和客户端的步骤: 用Socket API建立简易TCP服务端: 建立一 ...
- 学习笔记Hadoop(十四)—— MapReduce开发入门(2)—— MapReduce API介绍、MapReduce实例
四.MapReduce API介绍 一般MapReduce都是由Mapper, Reducer 及main 函数组成. Mapper程序一般完成键值对映射操作; Reducer 程序一般完成键值对聚合 ...
- TEE Internal core API介绍(globalplatform)
目录 一.TEE的API介绍 1.Cryptographic Operations API 加解密函数介绍() (1).Generic Operation Functions TEE_Allocate ...
- Globalplatform TEE api介绍
文章目录 1.TEE API介绍 2.Client API : CA与TA通信的API介绍 3.TEE API : TA系统调用TEE OS的API (1).Asymmetric (2).Authen ...
- 组合筛选vue_Vue 3 组合式API介绍
组合式API介绍 通过创建 Vue 组件,我们可以将接口的可重复部分及其功能提取到可重用的代码段中.仅此一项就可以使我们的应用程序在可维护性和灵活性方面走得更远.然而,我们的经验已经证明,光靠这一点可 ...
- 科大讯飞cordova语音插件填坑及api介绍
项目要求语音合成,准备调用科大讯飞的cordova插件,百度仅有一篇有价值的参考文章(再吐槽下,百度搜索到各种复制的文章....),谷歌有2篇,但介绍不全,只用typescript列出api,没有ap ...
- 43_pytorch nn.Module,模型的创建,构建子模块,API介绍,Sequential(序号),ModuleList,ParameterList,案例等(学习笔记)
1.40.PyTorch nn.Module 1.40.1.模型的创建 1.40.2.构建子模块 1.40.3.nn.Module API介绍 1.40.3.1.核心功能 1.40.3.2.查看模块 ...
最新文章
- 金山电子表格金山电子表格为何会死机?
- leetcode 10 Regular Expression Matching
- 搜索-----棋盘问题
- leveldb demo
- java访问控制度_菜鸡的Java笔记 - java 访问控制权限
- python tensorflow tf.Session().run()函数(运行操作并评估“fetches”中的张量)
- 10大最受欢迎的时间序列Github项目
- java中ssm付款代码,ssm实现支付宝支付功能(图文详解)
- Linux上监控tomcat down掉后自动重启tomcat
- 799元首发!小米手表Color:14天超长续航、专业运动健康管理
- 26个常用的方法优化 ASP.NET 的性能
- 轻量级linux iso,antiX 17.2 发布,基于Debian的轻量级Linux发行版
- 基于android的电子词典设计_基于安卓Android的电子词典的设计与实现
- APP测试点(思维导图)
- Java—计算长方体、四棱锥的表面积和体积
- 盒子综合案例——德云社十八愁与宠物知识栏
- echarts实现世界地图,给不同数值的国家着色,并根据经纬度在对应位置上添加标签(一)
- Rundll32.exe原理及使用, 参数传递问题解决方法(可用于批处理中)
- 5分钟之内,让你轻松掌握面试流程
- Office 2016 卡顿问题!如果其他方法都没有用就关掉硬件加速!