There is a problem with the notification icon in the dark theme in the application on Android 12+. The application was created at Expo (SDK 45). In a light theme, the color is displayed correctly, but in a dark theme, it changes. How to make color not change? Or what is the color changing process?
minSdkVersion 21
targetSdkVersion 31
The notification icon is set to blue (#192BC2). In a light theme it is displayed correctly, and in a dark theme it turns purple. Setting the color in color.xml (night) didn't help
Related
I have an app in dark theme with react-native-maps. When the map component is rendering the first white preview from google is appearing for a few mili seconds. If the app theme in white it is ok, but on the dark theme the flicker is happening. Can you tell me please how can I change background color of google map preview?
You can use MapView userInterfaceStyle property with 'light' | 'dark' or create a custom map styling like in description https://github.com/react-native-maps/react-native-maps#customizing-the-map-style
Please how do I properly change the default background color of app icon which is white to a one of my choice?
I'm using React-native 0.62
if your icon has already a white background you are not able to change that from the app,if you want to do that it need some complicated border detecting and then you can change it!, you need to modify changes outside of app, or just make its background transparent with Photoshop then use and give background to its parent.
i hope it helps
I want to change red marker's BG color
You can use StatusBar component for that
I display an ActionSheet from native-base lib and on iOS it displays correctly but on Android the text item color is white over a white background so not visible.
Can I change the style of an ActionSheet control?
I don't know how to find the CSS affecting this.
I have React Native 0.57.1 and Native Base 2.8.1.
Thanks!
I just modified the text color of the whole app to black and change locally the fonts to white, no other solution!
It's not possible to change the font color of the ActionSheet control itself!
I want to know that how we can change the background color for the toast notification in Windows Metro (or Desktop) app.
Thanks in advance.
Foreground:
You can set "Foreground text" in you app manifest to dark or light.
Background:
This follows the "Background color" of the app manifest - and hence will be the same as the app's tile background.
For most of the apps I've worked on, it's enough to set the tile color according the UI spec - and then set the 'foreground text' to light or dark. You can surely override the light/dark themes if you want to too.
For desktop apps, the background color used on toast notifications (and Start screen tiles) is not configurable by the app itself. The color for the tiles is determined by the Start screen color theme chosen by the user (PC Settings -> Personalize -> Start screen), and the color of the background of toast notifications is always gray (when not in a high-contrast theme).
I think it always use the color that is specified in your manifest file. So to change the color, you have to change the color of your whole application.