草庐IT

rotationX

全部标签

android - android :rotationX and android:rotationY in XML actually work?怎么办

如androiddocumentation中所述,函数的参数是float但是为什么以下不起作用:这只是在父View的中心显示原始行。虽然获取屏幕上的对角线可以使用android.animation,有没有更简单的方法? 最佳答案 publicstaticfinalintrotationXAddedinAPIlevel11.rotationoftheviewaroundthexaxis,indegrees.您没有在预览部分上看到它。当您运行该应用程序时,您将在VM上看到它。 关于andro