4
I created an XML with Linearlayout, in it I have a Spinner and an Edittext. On my screen I have a Linearlayout that should receive this other layout I created.
My question is: how to add this custom layout to my screen inside the other layout?
I’ve tried using findById to get the custom layout, but returns null.
Every time you click a button I must add the custom layout inside the linear that is on my screen.
How should I do?
It would be more practical to add the relevant code to the question so that an answer can be provided that meets the resolution of your problem.
– Zuul