B4A Code Snippet [B4X] Light theme B4XDateTemplate - Erel    Sep 13, 2021   (15 reactions) -theming-code.131243
https://www.b4x.com/basic4android/images/i_view64_QAmn2SVit7.png
Example of customizing B4XDialog and B4XDateTemplate.
Sub SetLightTheme
Dialog.TitleBarColor = 0xFFFF7505... B4A Code Snippet Theme Colors - Erel    Aug 10, 2026   (21 reactions)   tags: Themes, B4A Theme, color, status navigation color, Theme, ActionBar -2017-12-28_11.21.22.png The manifest code: SetApplicationAttribute(android:theme, "@style/LightTheme") CreateResource(values, colors.xml, <resources> <color name...="navigationBar">#ff006db3</color> </resources> ) CreateResource(values, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme...: remove the default call to CreateResourceFromFile(Macro, Themes.LightTheme)... B4A Code Snippet targetSdkVersion 35 and opting out of edge-to-edge enforcement - Erel    Jul 10, 2025   (30 reactions) Starting from B4A v13.4, the default themes (Themes.LightTheme / Themes.DarkTheme) already include the snippet that opts out of edge-edge. You only need this if you use a customize theme..., "@style/LightTheme") CreateResource(values, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme.Material.Light"> <item...(Macro, Themes.LightTheme) This replaces the default Theme.LightTheme with a similar theme... B4A Code Snippet Light Theme for B4XDialogs - arfprogramas    Mar 5, 2021   (12 reactions) First you have to use the code below to set your dialog variable to Light Theme:
Sub SetLightThemeDialog(dialog As B4XDialog)
dialog.BackgroundColor = Colors.White
dialog.ButtonsColor... B4J Tutorial [BANano] How to detect if your device browser is in Dark / Light Theme Mode - Mashiane    Mar 1, 2024   (3 reactions) another to return the mode. 1. Detect Dark / Light Theme changes. Dim cbTheme As Object = Banano.CallBack(mCallBack, "DarkTheme", Null) Dim matchMedia As BANanoObject = Banano...Hi Fam I want to detect if my device browser is in dark/ light mode and apply some settings on my....AddEventListener("change", cbTheme, True) 'ignore So this calls the DarkTheme callback each time the website dark theme is toggled. 2. Return true if dark mode is true... Share My Creation [B4J] - Minesweeper, dark/light theme, smooth animations, modern UI - Maxcfgos    Jul 19, 2026   (8 reactions) reveal on loss, game timer, and a full dark/light theme system with a custom ModernToggle sun/moon switch. All colors, borders, and styles are theme-driven through a Theme class.... B4A Library Themes manifest macros - fix for light navigation bar - Erel    Aug 13, 2026   (6 reactions) .LightTheme) 'or DarkTheme
With Edge to Edge + light theme (default) and when the navigation...">true</item>
The updated light theme, which is the one affected is:
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values-v20, theme.xml,
<resources>
<style
name="LightTheme" parent="@android:style/Theme.Material... B4A Question Change the background of the buttons of a B4XDialog to light theme - hatzisn    Dec 11, 2020 I think (I know) I have been answered this question in the past but I cannot remember it or find it in my content.
How do I do that? ... Other B4A v13.7 BETA - targetSdkVersion = 36 + Edge to Edge - Erel    Jul 30, 2026   (33 reactions) ://developer.android.com/guide/topics/manifest/activity-element#enableOnBackInvokedCallback.
The light and dark theme macros were updated. You can find the updated snippets inside libraries\Themes.jar. The now disabled enforcement of non-E2E was removed and windowLightStatusBar was added to the light... Other B4A v5.80 BETA is released! - Erel    Feb 9, 2016   (42 reactions) can use the native light theme based on the Android version: SetApplicationAttribute(android:theme, "@style/LightTheme") CreateResource(values-v20, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme.Material.Light"> </style> </resources> ) CreateResource(values-v14, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme.Holo.Light"> </style>... Page: 1   2   3   4   5   6   7   |