Here is a b4xlib that has a layout that calls a designer script extension to change the colour of a label.
The project LayoutOverrideTest has a layout with the same name and an extra label.
When I run the project, the extra label is displayed, but the original label is coloured as per the designer script of the layout contained in the b4xlib.
I noticed this as I removed a view in an overridden layout and got a no such view error as it was referenced in the original designer script.
I have also attached the project that the b4xlib was generated from.
The project LayoutOverrideTest has a layout with the same name and an extra label.
When I run the project, the extra label is displayed, but the original label is coloured as per the designer script of the layout contained in the b4xlib.
I noticed this as I removed a view in an overridden layout and got a no such view error as it was referenced in the original designer script.
I have also attached the project that the b4xlib was generated from.
Attachments
Last edited: