How can I rotate a custom SurfaceView in a layout file by 180 degrees?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://ift.tt/nIICcg"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<package.CustomSurfaceView
android:layout_width="fill_parent"
android:layout_height="0dp"
android:rotation="180"
/>
</LinearLayout>
Needless to say the above code doesn't work.
No comments:
Post a Comment