You can try to stick it in a separate activity.

<activity android:screenOrientation="landscape" 


On Thursday, January 6, 2011 6:03:02 AM UTC-8, Darshan wrote:
>
> Hi All, 
>
> I have a Framelayout that contains a textview, an edittext field, a 
> 'Play Video' Button and a VideoView. 
>
> When entering a video url and hitting the 'Play Video' button, the 
> VideoView will fetch and display the video. This is working fine as 
> expected and the video gets displayed as per the device's orientation. 
>
> But, what I want is to display the video in Landscape mode even when 
> the device is in Portrait mode. All other UI elements (textview, an 
> edittext field, a 'Play Video' Button etc.,) should be displayed in 
> Portrait. Can anybody help me to achieve this programmatically? 
>
> Is there is some function to rotate the VideoView alone? If yes, can 
> you provide some sample code for achieving the video rotation? 
>
> Thanks, 
> Darshan

-- 
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to