125 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
85
views
Incorrect app widgets theming after manual switching the dark theme in Android
I'm trying to implement dark theme in my app using this doc as a guide.
My app uses Theme.MaterialComponents.DayNight.NoActionBar theme and there is values-notnight resource folder for colors in light ...
1
vote
0
answers
138
views
Android WebView Theme Issue: Forced Light or Dark Mode lead Mixed UI Components After WebView Closure
I am experiencing an issue in my Android app related to using WebView in a fragment while forcing a theme mode opposite to the system's current mode. When the system is in dark mode, I force light ...
1
vote
0
answers
145
views
Developer option force dark mode changes app colors
I've created an app which is working as expected. The app is only running on an Android device with a dark mode theme, and should always appear dark.
I did notice one small visual bug I would like to ...
1
vote
0
answers
110
views
Can't get my widget to redraw when dark mode is turned on/off
I want my widget to change font color when the user switches darkmode. I have a widget, let's say with a background image and a textview:
<LinearLayout xmlns:android="http://schemas....
1
vote
2
answers
454
views
With enableEdgeToEdge, dark mode doesn't work properly
According to this documentation, if we want to enable edge-to-edge on API 34 and lower devices, we must call this method in the activity:
override fun onCreate(savedInstanceState: Bundle?) {
...
0
votes
1
answer
243
views
Android: Fragment changes when I change to dark theme
I have an activity that uses bottom navigation for fragments and an options menu to choose the theme. The problem is when I change the theme the fragment changes as well to the first one, not the one ...
2
votes
0
answers
240
views
ForceDarkAllowed for specific Compose component or how to fix weird text color in dark mode on some Xiaomi phones?
I have trouble with text color in dark mode on some Xiaomi devices with android 10.
The component is clickable Box with text, if item selected - the text color is back and box is white and vise versa. ...
2
votes
0
answers
494
views
Handling configuration changes in OSMDroid + Jetpack Compose
I'm trying to use OSMDroid library in my Compose Android app. I used this approach and it works great, but when I change to dark mode in my app, the map becomes just a grid, and no tiles are displayed....
1
vote
1
answer
621
views
how to change the background of status bar in react native based on device theme?
How I can change the background of statusbar based on device theme in real time ?
I wrote the following code and I wanted whenever I toggle my device's dark or light mode the statusbar change as well, ...
1
vote
2
answers
689
views
What is difference between Dark Mode and Dark Theme for any website and application?
I am new in UI development, I was asked above question in the interview.
I got confuse because as per my understanding there is no difference. Kindly guide me is there is any difference.
4
votes
0
answers
588
views
Android splash screen api read darkmode based on device setting issue
I use android splash screen api for my app splash screen.
I implemented the dark mode theme for my app and everything is working. But on some devices, like the Samsung devices with Android 13 (API 33) ...
0
votes
1
answer
126
views
Android Play In-App Review pop up not supporting dark mode
How to support dark mode for In-App review flow (review pop up) when application is in dark mode?
I have implemented android play in-app review flow. Flow working correctly but review pop is shown in ...
2
votes
1
answer
836
views
How to prevent Night Theme changing view colors to default colors in android studio?
Actually it seems very easy. I just want my view not to change its color when DARK THEME is applied. But it keeps changing.
I have even created colors/night and edited theme/night to keep my colors.
...
0
votes
1
answer
926
views
I want to change the Android dark mode dynamically
In my Android project currently under development, there are many Fragments in Activity.
And inside the Fragment, RecyclerView is used to show multiple Items to the user.
What I want is that when the ...
0
votes
1
answer
82
views
How to set CSS for dark mode to have still acceptable contrast when phone screen is dimmed?
The dark mode on my web page has a quite different contrast on my mobile phone screen (Android), depending whether the screen is dimmed or not.
Any guidelines to choose colors so that the contrast is ...