Webview background color #171
-
|
Hello! On my Android phone (in dark mode), when I switch between pages in my hotwire native app, the background of the loading WebView looks blackish. Is there a way to change this? Ideally, I’d like to match it with the same background color as my website’s body, so the transition feels smoother. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I copied the res folder from the hotwire-native-android into my own project and found the values that I need to update by trial and error. I think you need to update |
Beta Was this translation helpful? Give feedback.
-
|
It worked, thanks a lot! |
Beta Was this translation helpful? Give feedback.
I copied the res folder from the hotwire-native-android into my own project and found the values that I need to update by trial and error.
I think you need to update
color_backgroundin res/values/colors.xml and in res/values-night/colors.xml.