You are right Justin...

Regards,
Darshan

On Jan 10, 7:35 pm, Justin Buser <justin.bu...@gmail.com> wrote:
> So if I am correct you are saying that you want the video to be
> landscape and the player controls to be portrait while the phone is
> portrait oriented?
>
> On Jan 7, 12:41 am, Darshan <cmb...@gmail.com> 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.
>
> > I am looking for a way to handle the below scenario:
> > 1. Initially the device is in Portrait mode when the 'Play Video"
> > button is pressed.
> > 2. The video will be fetched and prepared for display.
> > 3. Now, when displaying the first frame, I need to rotate the video
> > view so that the video gets displayed as in Landscape mode (note that
> > the device is still in Portrait mode).
> > 4. Once a way for achieving what is required in point 3) above is
> > available, I can then need not worry on rotating the videoview on
> > further device orientation changes.
>
> > Hope I had clearly explained the scenario.
>
> > Thanks,
> > Darshan
>
> > On Jan 7, 10:30 am, Darshan <cmb...@gmail.com> 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 <treking...@gmail.com> wrote:
>
> > > > On Thu, Jan 6, 2011 at 8:03 AM, Darshan <cmb...@gmail.com> 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 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

Reply via email to