On Sun, May 26, 2013 at 7:05 AM, dmtrl...@gmail.com <dmtrl...@gmail.com>wrote:
> I have html with video tag > > <center><video src="http://mysite.com/video.m4v" id="html5-video" > controls="controls" width="100%"></video></center> > > My WebView has MATCH_PARENT layout params for width and heights. Video > start playing correct (inline player stretches for whole screen), but if > screen rotates - something wrong happens. Looks like WebView relayouts and > set his size using new orientation, but inline player not (I mean size of > player not changes). How can I set size of inline player ? Is it possible ? > > according to: http://stackoverflow.com/questions/13062858/how-to-set-webview-inside-a-linearlayout it seemed that your WebView should be "fill_parent" and the layout should be "match_parent" instead? > -- > -- > 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 > --- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards, Peter Teoh -- -- 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 --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.