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 ObjectAnimatoror 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

added in API level 4

boolean isRunning ()

Indicates whether the animation is running.

Returns
boolean True if the animation is running, false otherwise.
True 如果动画正在执行的话,否则为false

start

added in API level 4

void start ()

Starts the drawable's animation.

开启drawables的动画

stop

added in API level 4

void stop ()

Stops the drawable's animation.

停止drawables的动画

Animatable API介绍相关推荐

  1. HTML5 Audio标签方法和函数API介绍

     问说网 > 文章教程 > 网页制作 > HTML5 Audio标签方法和函数API介绍 Audio APIHTML5HTML5 Audio预加载 HTML5 Audio标签方法和函 ...

  2. Servlet基础(一) Servlet基础和关键的API介绍

    转载:http://www.cnblogs.com/mengdd/p/3202550.html Servlet基础(一) Servlet简介 关键API介绍及结合源码讲解 Servlet基础(一) S ...

  3. Socket基础API介绍

    文章目录 1 Socket基础API介绍 1 Socket基础API介绍 我们先来看下使用Socket API建立简易TCP服务端和客户端的步骤: 用Socket API建立简易TCP服务端: 建立一 ...

  4. 学习笔记Hadoop(十四)—— MapReduce开发入门(2)—— MapReduce API介绍、MapReduce实例

    四.MapReduce API介绍 一般MapReduce都是由Mapper, Reducer 及main 函数组成. Mapper程序一般完成键值对映射操作; Reducer 程序一般完成键值对聚合 ...

  5. TEE Internal core API介绍(globalplatform)

    目录 一.TEE的API介绍 1.Cryptographic Operations API 加解密函数介绍() (1).Generic Operation Functions TEE_Allocate ...

  6. Globalplatform TEE api介绍

    文章目录 1.TEE API介绍 2.Client API : CA与TA通信的API介绍 3.TEE API : TA系统调用TEE OS的API (1).Asymmetric (2).Authen ...

  7. 组合筛选vue_Vue 3 组合式API介绍

    组合式API介绍 通过创建 Vue 组件,我们可以将接口的可重复部分及其功能提取到可重用的代码段中.仅此一项就可以使我们的应用程序在可维护性和灵活性方面走得更远.然而,我们的经验已经证明,光靠这一点可 ...

  8. 科大讯飞cordova语音插件填坑及api介绍

    项目要求语音合成,准备调用科大讯飞的cordova插件,百度仅有一篇有价值的参考文章(再吐槽下,百度搜索到各种复制的文章....),谷歌有2篇,但介绍不全,只用typescript列出api,没有ap ...

  9. 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.查看模块 ...

最新文章

  1. 金山电子表格金山电子表格为何会死机?
  2. leetcode 10 Regular Expression Matching
  3. 搜索-----棋盘问题
  4. leveldb demo
  5. java访问控制度_菜鸡的Java笔记 - java 访问控制权限
  6. python tensorflow tf.Session().run()函数(运行操作并评估“fetches”中的张量)
  7. 10大最受欢迎的时间序列Github项目
  8. java中ssm付款代码,ssm实现支付宝支付功能(图文详解)
  9. Linux上监控tomcat down掉后自动重启tomcat
  10. 799元首发!小米手表Color:14天超长续航、专业运动健康管理
  11. 26个常用的方法优化 ASP.NET 的性能
  12. 轻量级linux iso,antiX 17.2 发布,基于Debian的轻量级Linux发行版
  13. 基于android的电子词典设计_基于安卓Android的电子词典的设计与实现
  14. APP测试点(思维导图)
  15. Java—计算长方体、四棱锥的表面积和体积
  16. 盒子综合案例——德云社十八愁与宠物知识栏
  17. echarts实现世界地图,给不同数值的国家着色,并根据经纬度在对应位置上添加标签(一)
  18. Rundll32.exe原理及使用, 参数传递问题解决方法(可用于批处理中)
  19. 5分钟之内,让你轻松掌握面试流程
  20. Office 2016 卡顿问题!如果其他方法都没有用就关掉硬件加速!

热门文章

  1. CentOS 7 用yum安装 MySQL
  2. mysql5.7+ 虚拟列,json使用初体验
  3. 五大经典算法之回溯法
  4. JavaScript中字符串去掉特殊字符和转义字符
  5. 选择排序——一般选择排序,堆排序
  6. 一些安全相关的HTTP响应头
  7. HTTP 三次握手  建立连接 和  四次握手断开连接
  8. WindowsPhone8游戏开发字体国际化化
  9. 设计Qt风格的C++API
  10. ArcGIS Server for Silverlight 之集群(Simple Clusterer)