Vinayrev
(Vinay Revankar)
September 28, 2021, 7:42am
#1
How do I prevent my users device from forcing dark mode into my app. The UI, which is optimised and designed for non-dark mode, looks trash and pretty ugly in dark mode.
I want to prevent my users/users device from literally forcing dark mode into my app until I design my UI for it.
dora_paz
(Dora)
September 28, 2021, 7:48am
#2
Next time please use search
Its a simple Aix to let stop Device darkmode affect your app ui,
I made aix on request by @Anu
Blocks
[image]
Just a simple but useful aix
Download
ForceDark.aix (4.6 KB)
Demo Blocks
[image]
Topics about errors
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:forceDarkAllowed">false</item>
can i add this code to my app ?
Vinayrev
(Vinay Revankar)
September 28, 2021, 12:38pm
#3
These both solutions don’t work. Infact the last reply in the second answer is mine.
Jinx
(Jinx)
September 28, 2021, 5:17pm
#4
Here is your full and perfect solution given by one and only @Avijit
Hello guys my name is Avijit,
And today i am showing you. how to you can force to disable in dark mode in your app.
Dark mode is a very major problem for light UI/UX. So lets start our today tutorial.
Step 1 Open your app in <a href="https://qwertycube.com/apk-editor-studio/" rel="noopener nofollow ugc">APK Editor Studio</a>
<a class="lightbox" href="https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/a/c/acdd9989be405c…
2 Likes
This post was flagged by the community and is temporarily hidden.