android:rotation | 设置组件旋转的角度 |
控件顺时针旋转
<RelativeLayout android@H_301_43@:layout_width="fill_parent" android@H_301_43@:layout_height="fill_parent" android@H_301_43@:rotation="90" > <ImageView android@H_301_43@:layout_width="wrap_content" android@H_301_43@:layout_height="fill_parent" android@H_301_43@:layout_centerHorizontal="true" /> </RelativeLayout>
其他相关属性:http://deep-fish.iteye.com/blog/2015228