[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
Mb there is no need to override onBackPressed in fragment because onHideCustomView is being called when I press back button anyway, but I as said the app crashes and I don't really understand why -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
Mb there is no need to override onBackPressed in fragment because onHideCustomView is being called when I press back button anyway, but I as said the crashes and I don't really understand why -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
On Sunday, August 21, 2016 at 10:02:11 PM UTC+3, AndroidUser253 wrote: > > I have an example code that creates WebView for HTML5 video and it allows > to enable fullscreen (actually there is also a problem with hiding status > bar, but it's not the main problem now). > > public class MainActivi