https://developer.android.com/training/transitions/index.html

interface n. 界面;<计>接口;交界面
hierarchy n. 层级;等级制度
elaborate adj. 精心制作的;详尽的;煞费苦心的
diagram n. 图表;图解

动画框架的局限性

  • Animations applied to a SurfaceView may not appear correctly. SurfaceView instances are updated from a non-UI thread, so the updates may be out of sync with the animations of other views.
  • Some specific transition types may not produce the desired animation effect when applied to a TextureView.
  • Classes that extend AdapterView, such as ListView, manage their child views in ways that are incompatible with the transitions framework. If you try to animate a view based on AdapterView, the device display may hang.
  • If you try to resize a TextView with an animation, the text will pop to a new location before the object has completely resized. To avoid this problem, do not animate the resizing of views that contain text.

incompatible adj. 不相容的;矛盾的;不能同时成立的

把动画应用到SurfaceView 上可能会表现的不正确,因为SurfaceView 的更新发生在非UI线程,所以更新可能会和其他动画不同步
某些特定的转换类型在应用到TextureView时可能不会产生所需的动画效果
像listview这种继承自AdapterView的类,管理子类动画和动画框架不兼容,所以要对继承自AdapterView的的视图添加动画,设备可能会挂起
如果尝试对TextView执行动画,文字会在视图动画结束前跳到一个新的位置,为了避免这个问题,不要对包含文本的view执行大小调整

根基不牢,地动山摇,走火入魔,切记,切记。
Crossfade n. 淡入淡出;交叉渐变
gradually adv. 逐步地;渐渐地
simultaneously adv. 同时地

https://developer.android.com/training/wide-color-gamut/index.html#overview
gamut n. 全音阶;全音域;整个范围

When wide color gamut mode is enabled, the activity’s window uses more memory and GPU processing for screen composition. Before enabling wide color gamut mode, you should carefully consider if the activity truly benefits from it. For example, an activity that displays photos in fullscreen is a good candidate for wide color gamut mode, but an activity that shows small thumbnails is not.

当启用了宽色域模式时,activity的窗口将使用更多的内存和GPU处理来处理屏幕组合。在启用宽色域模式之前,您应该仔细考虑值得,比如当activity需要通过全屏来显示一张图片时候可以开启宽色域模式,如果只是展示一个缩略图则没必要。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值