You cannot have it all
B4XPreferencesDialog is a good solution for its use case. There is no magic - making it "more dynamic" means that it will make it considerably more complicated to work with and instead of a nice and simple tool to build input forms (inspired by Google Forms BTW) we will have a cumbersome tool.
B4XPreferencesDialog is open source. Anyone one who wants to add features is more than welcome. It is also simpler to take the code and modify it to better meet your specific requirements than it is to extend the official library that needs to be backward compatible and simple.
Hi, I hereby make my updated library available to all. In the example all necessary functions are included. The file "fsPreferences.xml" and "fsPreferences.jar" must be saved under "C:\Program Files\Anywhere Software\B4a\Extern-Library" or similar. You can make each entry dependent on another...