活动启动的动画部分
是否可以为活动启动的部分设置动画?
我不希望我的操作栏动画化,但是视图的其余部分应该滑入。
我已经尝试使用图库来实现此目的,但是我无法在以编程方式设置所选视图时为图库动画化。这是因为图库加载的内容不会超过当前显示的视图及其直接相邻的视图。
Is it possible to animate part of an activity launch?
I am not wanting my action bar to animate, however the rest of the view should slide in.
I have tried using a Gallery for this, however I have not been able to animate the gallery while programatically setting the selected view. This is because the gallery does not load more than the currently displayed view and its immediate adjacent views.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您可以使用取景器来实现此目的时。一次显示 1 个孩子。您可以为视图设置 IN 和 OUT 动画。因此,当您设置 activew 视图索引时,将应用动画。
When you can use the viewflipper for this. Which shows 1 child at a time. You can set a IN and OUT animation for the views. So when you set the activew view index animations will be applied.