自己发现的SDK 自带的apidemo中的一个bug

来源:互联网 发布:勒索软件解密工具 编辑:程序博客网 时间:2024/05/29 19:10

I find a mistake in the apidemos.
The demo path is Views->Animation->3D Transition.
I think the picture we saw was flipped horizontally by mistake.


I think the codes at Line 158 in the Transiton3d.java should be replaced by
'rotation = new Rotate3dAnimation(-90,0, centerX,centerY,310.0f,false)'
and Line 111 should be replcaed by 'applyRotation(-1,0,90)'

 

http://code.google.com/p/android/issues/detail?can=2&q=9175&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&id=9175

原创粉丝点击