I RESOLVED IT BY ADDING BELOW LINE IN main.xml file.

android:layout_gravity="center"

thanks.

--- On Sat, 10/17/09, Clave Yard <calvetobediffic...@yahoo.com> wrote:

From: Clave Yard <calvetobediffic...@yahoo.com>
Subject: [android-beginners] Make "VideoView" into Center?
To: android-beginners@googlegroups.com
Date: Saturday, October 17, 2009, 3:27 PM

All,

Does anyone know how to make "VideoView" into center of the device? Is there 
any chance to do that programmatic ally (or) any other way? I am playing a 
video file on VideoView. It is showing the video on a bit top postion, instead 
of as usual in center of the device. When i play the same video from device, it 
is playing from center of the device. May i get some one's help on this?

Appreciate your help on this.



     







      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to