Invoking LoadLayout in the activity should load the layout from DirAssets. If it is not then we need more information about how you are making the library and preferably a small sample project and library.
Hi,
thank you for replying.
It looks like the layout wasn't in the "Files" folder in the loading project.
Now it appears, but it has other problems.
To test the library, I put a Label in the layout. The goal is to make the library Activity behave like a dialog box. For this, the manifest was edited
for the Activity to be transparent.
The activity loads a panel that contains a label outside the designer. The panel is smaller than the activity and has a gray color.
In the library usage test, there is another activity with a blue background.
When the library is called, the gray panel should appear on a blue background. But that doesn't happen.
It appears over white background. Does the designer add a panel to build the layout ? Is that panel that i see ? How can i reach it?
What am I doing wrong?
I attach the test zips.
Thanks in advance