Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
542 views

Android WebView bad rendering of CSS linear background with text overlay

I'm working on Xamarin Forms targeting Android 13 and since 2 weeks I'm fighting against an annoying rendering problem on a WebView which as far as I understood (by Googling 24/7) is based on the ...
NitroHxC's user avatar
1 vote
1 answer
2k views

Include CSS within WebView in Xamarin Forms with a Source URL (iOS & Android)

I am trying to include some custom css within a webview on xamarin forms so the website being used can be customized with css styles, changing colors or other css style classes. I have done this ...
OD Applications's user avatar
2 votes
2 answers
1k views

Is it possible to add custom CSS to a WebView in Xamarin using ONLY ONE stylesheet in my Assets folder?

I've seen multiple tutorials adding a GetBaseUrl separately for IOS and Android, but they don't answer my question. I was wondering if there is no other way to add custom CSS to a webview and only ...
IT-Girl's user avatar
  • 498
0 votes
1 answer
330 views

Why did modifying the WebView Layout Parameter fix the 0 height body issue?

I have a Xamarin WebView that was not displaying my HTML correctly. It was set to fill the whole screen, however the body height in the HTML was still 0px. I also had a div in the html styled: ...
Sean Forman's user avatar
0 votes
1 answer
971 views

Webview not rendering css properly - Kitkat version 4.4.2

I am not sure what's the problem is. But after googling I thought it is the problem with webview. I have a page which is rendering properly in every device except tablet with kitkat version(even in ...
Soujanya Divi's user avatar
0 votes
0 answers
68 views

How can I see css changes without restarting xamarin app

I'm building a xamarin app where I'm using a Preprocessed Razor Template as a webview. I used this guide to set it up: https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/...
MazW's user avatar
  • 145