Animating Views Using Scenes and Transitions ---
来源:互联网 发布:抓取js生成的数据 编辑:程序博客网 时间:2024/04/27 23:26
The user interface of an activity often changes in response to user input and other events. For example, an activity that contains a form where users can type search queries can hide the form when the user submits it and show a list of search results in its place.
To provide visual continuity in these situations, you can animate changes between different view hierarchies in your user interface. These animations give users feedback on their actions and help them learn how your app works.
Android includes the transitions framework, which enables you to easily animate changes between two view hierarchies. The framework animates the views at runtime by changing some of their property values over time. The framework includes built-in animations for common effects and lets you create custom animations and transition lifecycle callbacks.
This class teaches you to use the built-in animations in the transitions framework to animate changes between view hierarchies. This class also covers how to create custom animations.
Note: For Android versions earlier than 4.4.2 (API level 19) but greater than or equal to Android 4.0 (API level 14), use the animateLayoutChanges
attribute to animate layouts. To learn more, see Property Animation andAnimating Layout Changes.
Lessons
- The Transitions Framework
- Learn the main features and components of the transitions framework.
- Creating a Scene
- Learn how to create a scene to store the state of a view hierarchy.
- Applying a Transition
- Learn how to apply a transition between two scenes of a view hierarchy.
- Creating Custom Transitions
- Learn how to create other animation effects not included in the transitions framework.
- Animating Views Using Scenes and Transitions ---
- android-Animating Views Using Scenes and Transitions
- Animating Views Using Scenes and Transitions - The Transitions Framework
- Animating Views Using Scenes and Transitions ? - Creating Custom Transitions
- Animating Views Using Scenes and Transitions - Creating a Scene
- Animating Views Using Scenes and Transitions - Applying a Transition
- 使用Scenes和Transitions执行动画 -- Animating Views Using Scenes and Transitions
- Animating Views and Windows
- Scenes and Transitions(1)——转换框架
- Scenes and Transitions(2)——创建场景
- A List itemRenderer using States and Transitions
- Android 知识要点整理(11)----Scenes and Transitions(场景和变换)
- 动画学习2 Animating Views
- Using Data Dictionary and Dynamic Performance Views
- 使用Scenes和Transitions实现View动画
- Android动画之使用Scenes和Transitions
- 动画学习1 Animating Views with Blocks
- 动画学习1 Animating Views with Blocks
- iOS管理文件路径和目录路径(1)
- UVA514-Rails
- 推荐两个JQuery UI
- 使用 JQWidgets 实现下拉框多选+文本搜索+分段搜索
- 多线程学习
- Animating Views Using Scenes and Transitions ---
- pat1028 List Sorting
- 基于云构建企业级系统
- Java 获取当前页面完整的url
- APK一键快捷工具
- 负载平衡
- 工厂模式-简单工厂
- for和while等价
- 更改以ArrayAdapter作为数据源的listview字体