I also added the below lines too.. getWindow().setFormat(PixelFormat.TRANSLUCENT); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); Regards, Martin Prabakar.
--- On Mon, 10/19/09, Prabakar <prabhu_mp...@yahoo.com> wrote: From: Prabakar <prabhu_mp...@yahoo.com> Subject: [android-beginners] Full scree Video View.. To: android-beginners@googlegroups.com Date: Monday, October 19, 2009, 12:26 AM Hi, I am playing a Video using VideoView in my program. I used android:screenOrientation="landscape" in AndroidManifest xml and android:layout_gravity="center" android:fitsSystemWindows="true" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" in main.xml file. I used requestWindowFeature(Window.FEATURE_NO_TITLE); to hide the title. Problem now is, it is not playing the video at the center of screen as built-in video does. Video has moved up closely and botton there is a big space. How to make it to fit into full screen video (or) center of screen properly? I appreciate your help. Regards, Martin Prabakar. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---