Share My Creation B4XFlexibleDialog - A customizable, cross-platform preferences and settings UI for B4X

Version 0.20
GitHub: https://github.com/pyhoon/B4XFlexibleDialog

B4XFlexibleDialog​

B4XFlexibleDialog turns a JSON definition into a settings form. The same definition and committed values drive a modal dialog and an embeddable page, and the form renders on B4J and B4A from shared source. It supports text, multiline, password, number, switch, checkbox, choice, multichoice, date, time, datetime, slider, file, directory, label, action, and custom. Definitions and values stay independent of the UI controls. B4i is not planned for the near term; its facade/page branches and directory picker ship as compile-only stubs so the shared source still builds.

1792098674117.png
1792098711368.png

1792392257217.png
1792392413506.png
 

Attachments

Last edited:
Updated to version 0.20
Attached B4XPagesDemo (tested for B4A and B4J)
B4i is not implemented at this point.
 
Awesome, Ive been thinking, mobile phones are already small, for such preference dialogs that might require larger content, i.e. a lot of components, isnt it better just to show another activity than a dialog? I guess it depends on need and app functionality anyway.

Wanting an activity that behaves like a preference dialog in such instances? Like one that will take the full page and be scrollable?

Thoughts?
 
Awesome, Ive been thinking, mobile phones are already small, for such preference dialogs that might require larger content, i.e. a lot of components, isnt it better just to show another activity than a dialog? I guess it depends on need and app functionality anyway.

Wanting an activity that behaves like a preference dialog in such instances? Like one that will take the full page and be scrollable?

Thoughts?
The library lets you to choose using a "modal dialog" and/or a "page".
 
Back
Top