Perhaps you can extend the VideoView class, then override onDraw.
Then you can rotate the canvas there, and call super.draw(canvas).
That might work.

On Thu, Jan 6, 2011 at 9:30 PM, Darshan <[email protected]> wrote:
> My app's requirement is that it should display the Video in Landscape
> mode only even when the device's orientation is changed to Portrait
> leaving all other controls to be in sync with the device's
> orientation. Thats why I am looking for a way to rotate the VideoView
> alone.
>
> ---
> Darshan
>
>
> On Jan 6, 10:06 pm, TreKing <[email protected]> wrote:
>> On Thu, Jan 6, 2011 at 8:03 AM, Darshan <[email protected]> wrote:
>> > 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.
>>
>> Why even bother doing this? If you're not going to rotate the video, then
>> there's no reason for the user to rotate their phone and thus no reason to
>> rotate the controls.
>>
>> -------------------------------------------------------------------------------------------------
>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
>> transit tracking app for Android-powered devices
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to