Friday, July 26, 2013

[android-developers] Re: Stretch videostrong

Thanks. 

I got that working.

Any tips on how to stick an AdView at the top?

I think it might be tricky since that RelativeLayout thing is kind of a hack.



On Tuesday, July 23, 2013 8:09:56 AM UTC-5, Matt wrote:
Take the VideoView under a RelativeLayout and define it as below:

<VideoView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true" /> 

On Saturday, July 20, 2013 7:04:46 PM UTC+5:30, bob wrote:
Anyone know if there's an easy way to scale a VideoView so the video takes up the whole screen?

I want it to be "stretched".

Thanks.

--
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment