阅读背景:

如何旋转图像按钮以匹配屏幕方向?

来源:互联网 

I have a layout with several image and toggle buttons. How can I make them rotate to match the screen orientation? I do not with to rotate the layout, just these elements. Example: The screen is in portrait orientation, the buttons are perfectly vertically aligned. The device is rotated and switches to landscape orientation and so the buttons rotate to adapt to the users point of view. How can that effect be achieved? How can a degree rotation animation be linked not only to the element it affects, but also be orientation sensor sensitive?I have a layout with several image and toggle b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: