makis_best Well-Known Member Licensed User Longtime User Aug 2, 2020 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Aug 2, 2020 #2 This should work with B4XPages: https://www.b4x.com/android/forum/threads/best-practice-for-android-dark-theme.109667/#content Upvote 0
This should work with B4XPages: https://www.b4x.com/android/forum/threads/best-practice-for-android-dark-theme.109667/#content
makis_best Well-Known Member Licensed User Longtime User Aug 2, 2020 #3 @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
@Erel the code B4X: CreateResource(values, theme.xml, <resources> <style name="MyAppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> </style> </resources> ) is for manifest editor... Correct?