【问题标题】:How to animate ImageView form center to the top in android?如何在android中将ImageView表单中心设置为顶部?
【发布时间】:2011-02-15 18:20:44
【问题描述】:

我只想为像 TranslateAnimation 这样的 ImageView 设置动画,它应该将表单中心(因为 ImageView 在 Layout.xml 中的 LinearLayout 的中心)移动到屏幕顶部。我用这个...

TranslateAnimation moveLefttoRight = new TranslateAnimation(0, 0, 0, -200);

我在工作,但我想在图像移动到顶部时进行横向扩展...如何结合两个动画?

【问题讨论】:

    标签: android android-animation


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-28
      • 2014-11-28
      • 1970-01-01
      • 2013-05-19
      • 2016-12-03
      • 1970-01-01
      • 2019-01-27
      • 1970-01-01
      相关资源
      最近更新 更多