[android-developers] Re: How to rotate a layout with api level 9 with buttons
Hi
i think that this solution may help you
make the applicaton to rotate that intent by adding the following content in the manifest file
<activity
android:name=".editer"
android:label="@string/app_name"
android:screenOrientation="portrait" >
</activity>
this rotates all the view and the dialogs into portrait,
Thanks
Shiva
On Monday, November 5, 2012 3:55:29 AM UTC+5:30, strangeoptics wrote:
Hi,--I program a camera. The activity is fixed to landscape.My problem is that I want to show some preferences or dialog views. The ViewGroup should rotate with the device but they inflate allways in landscape.If I rotate a ViewGroup with Animations the touch events don't work.When I look in the sources of the android camera, they did it somehow with GL.Is there an common approach to this problem?
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home