可以让布局旋转的xml属性

来源:互联网 发布:广州恒大淘宝股价 编辑:程序博客网 时间:2024/05/22 17:27

android:rotation 设置组件旋转的角度

控件顺时针旋转


<RelativeLayout    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:rotation="90" >    <ImageView        android:layout_width="wrap_content"        android:layout_height="fill_parent"        android:layout_centerHorizontal="true" /></RelativeLayout>


其他相关属性:http://deep-fish.iteye.com/blog/2015228

原创粉丝点击