ObjectAnimator在API级别&LT

ObjectAnimator在API级别&LT

本文介绍了ObjectAnimator在API级别< 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我变得非常沮丧与Android和事实,一半的东西没有,当你回滚API级别近11的工作为什么不是容易,也做过类似的iOS?!

So I'm getting really frustrated with android and the fact half the stuff doesn't work when you roll back the API Level past 11. Why isn't it easy and well done like iOS?!

问题我使用 ObjectAnimators 动画片段之间的过渡。他们的工作罚款任何与API级别11以上。当我更改构建目标低于11我得到的问题,它说,它不能找到资源标识符的属性,如 propertyName的值类型在XML文件中。

The ProblemI am using ObjectAnimators to animate the transitioning between Fragments. They work fine in anything with API Level 11 and above. As soon as I change the build target to less than 11 I get problems with it saying it can't found the resource identifiers for attributes such as propertyName and valueType in the xml file.

问题我应该用什么来代替动画我片段的转换,将工作在API级别> 7。

The QuestionWhat should I use instead to animate my Fragment transitions that will work on API Levels > 7.

在此先感谢。

推荐答案

我建议使用 http://nineoldandroids.com/ ,其从该ActionBarSherlock项目相同的制造商,它引入了一个支持ObjectAnimator,从API 1日起适用

I suggest using http://nineoldandroids.com/ , its from the same maker of the ActionBarSherlock project, it introduces a support ObjectAnimator that works from API 1 onwards.

这篇关于ObjectAnimator在API级别< 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-02 00:35