Android Question Copy and paste between layouts in the designer


Well-Known Member
Licensed User
Longtime User
I am trying to rebuild a layout capable of working on a tablet, as the original one produces a ridiculous small square. While working perfectly on a phone.

So I tried to copy and paste each view from the existing layout to a brand new one I made sure it works on a tablet. I started with a label.

I get a Java error in the line where I load the layout saying that a label has not been initialized.

It is declared in the code, but it seems something else is expected. If I add a label to the same layout, no error.

Is it possible to do what I want to do, or do I have to rebuild the (rather complex) layout view by view ?



B4X founder
Staff member
Licensed User
Longtime User
Upvote 0