PropertyValues​​Holder:找不到二传手/ getter方法​​属性阿尔法值类型为浮动 [英] PropertyValuesHolder: Couldn't find setter/getter for property alpha with value type float

查看:109
本文介绍了PropertyValues​​Holder:找不到二传手/ getter方法​​属性阿尔法值类型为浮动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想nineoldandroids是API较低则蜂窝...

i thought nineoldandroids is a framework for API lower then HONEYCOMB...

让我怎么错了?我的HTC的Andr​​oid 2.2.1抛出这个错误(找不到二传手/ getter方法​​属性阿尔法值类型为浮动):在所有这些行:

so what do i wrong?? my HTC Android 2.2.1 throws this error (Couldn't find setter/getter for property alpha with value type float): on all these lines:

ObjectAnimator.ofFloat(mHintViewRing, "alpha", 0);
ObjectAnimator.ofFloat(mHintViewRing, "alpha", 0f, 1f);

编辑: 我贴错了行遗憾:

i posted the wrong line sorry:

PropertyValuesHolder.ofFloat("alpha", 1f, 0.1f);

是坏的。

推荐答案

一些尝试后,我更换了所有PropertyValues​​Holder与ObjectAnimator(含浮动瓦尔)

After some tries, i replaced all PropertyValuesHolder with ObjectAnimator (with float vars)

这篇关于PropertyValues​​Holder:找不到二传手/ getter方法​​属性阿尔法值类型为浮动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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