按钮组? [英] Group of buttons?

查看:154
本文介绍了按钮组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题 - 有什么办法来定义几个按钮为1组,并进行1动画,会为这个群体开始,而不是作出独立的动画开始为他们每个人,

I have a question - is there any way to define a few buttons as a 1 group, and make 1 animation that will start for this group, instead of making an separate animation start for each of them?

推荐答案

把他们都在一个ViewGroup中和动态显示。所有的孩子都将是动画的一部分。一个ViewGroup中为任何布局类的基类,这意味着你可以使用你找到合适的一个的LinearLayout,RelativeLayout的或其他任何东西。

Put them all in a ViewGroup and animate that. All children will be part of the animation. A ViewGroup is the base class for any layout class, that means you can use a LinearLayout, RelativeLayout or anything else that you find suitable.

这篇关于按钮组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆