with B4A 2.3 I'm getting a NullPointerException when loading a Layout to a Panel:
B4X:
dim setscroll as ScrollView
setscroll.Initialize(Main.hoehe)
setscroll.Panel.LoadLayout("settings") '->> results in a NullPointerException
saveerror = False
This code worked without any problems in previous B4A versions.
This is a bug in v2.30. As written above you should first add the ScrollView to its parent and then load the layout.
This is actually the correct way to load the layout as otherwise the panel size will be 0 and if there is any designer script code in the layout file it will not work correctly.