Ok, even if I looked at it (B4XPreferencesDialog source code) quickly and at the same time I was doing other things, it seems to me that I understood that each item has its own specific type and in this way, thanks to this, the relative layout is loaded and the loading phase of the view values.
This is very... custom. It has its advantages but also its disadvantages: how can I insert various types of views of my choice into an item? For example, I would say a classic example, I could want in a single item a Checkbox to enable/disable the background music and also a SeekBar for the audio volume. To achieve this, I would have to change both B4XPreferencesDialog and the form builder sources.
However I like it!