Android Question [SOLVED] [B4X]-[B4XPages] Darkmode

makis_best

Well-Known Member
Licensed User
Longtime User
Hi

Is there any way in B4XPages to automatic enable dark mode?
I mean if application start in Android 10 automatic switch to dark mode if it is set by user.

Thank you.
 

makis_best

Well-Known Member
Licensed User
Longtime User
@Erel the code
B4X:
CreateResource(values, theme.xml,
<resources>
    <style name="MyAppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
    </style>
</resources>
)

is for manifest editor... Correct?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…