可以让布局旋转的xml属性

前端之家收集整理的这篇文章主要介绍了可以让布局旋转的xml属性前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

控件顺时针旋转


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

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

猜你在找的XML相关文章