Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是安卓新手。我想在android中使用翻译动画。我希望红色圆形图像来自布局的中心。它来了 。但我希望红色圆形图像从中心图像返回,颜色为绿色。
我无法附上图片,因为我的声誉低于 15。
你需要用这些图像来组织你的布局。2image 必须在您的布局中低于 1 个图像。
您将必须拍摄 2 张图像 - 红色和绿色。您将不得不为此使用AnimationListners并维护布尔变量来检查您是否要为红色或绿色设置动画。
AnimationListners