On Sep 29, 4:40 am, Mark Murphy <[email protected]> wrote: > On Wed, Sep 29, 2010 at 7:35 AM, monty <[email protected]> wrote: > > I have an issue with displaying videos on android devices.When any > > video is displayed it does not take the entire screen size of device > > even though i have given android:layout_width="fill_parent".There will > > being some blank space on either sides.for eg.if i have a video of 480 > > by 320 it will work on 480 by 320 device fine but on a device like > > say Nexus one it wont take the entire display of device ,there will > > be some blanl spaces on two sides. > > Of course. That is what your users want.
Actually, there are A LOT of people who would take the distortion in order to stretch a video to fill the entire screen. It doesn't matter how much you argue with them -- they still want the option to watch an inaccurate representation of the data. If you want to fill the screen, you can find the source for VideoView and modify it to make it do what you want. Adjusting the size of the contained SurfaceHolder will do it. Doug -- 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

