Issue in customization of webview
I used the below blog to implement enabling and disabling fullscreen videos using webview. https://dev.to/vhugogarcia/net-maui-webviews-how-to-play-videos-in-full-screen-1j03 But after disabling the fullscreen feature, the screen is getting cut in the right and top side of the app. issue is reproducing on android 10. How can we resolve this issue?
AndroidManifest.xmlfile In your Android manifest file, add the following attribute to the
<application>tag to enable hardware acceleration for your entire application:
<application android:hardwareAccelerated="true" ...>
Please use physical android devices to make a test. I used Android emulator. I will get the screen get cut result when video in the first full screen. But when I switch full screen and the not full screen. WebView could run normally. But it works in my physical devices.
Sign in to comment