Android Question How to create template with multiple views on it?

Rams007

Member
I want to create a template that has multiple views such as images and text. There maybe 5 images of various sizes and several areas of text.

I want it so I can load data into this template say from a database and hence display a new template when I need to.

What would be the best way to approach this, would you start with a panel and add you views onto the panel so you could load the whole thing as one piece?
 

Alexander Stolte

Expert
Licensed User
Longtime User
look at this example:
 
Upvote 0

Rams007

Member
look at this example:

That looks good. Thanks.

Now I tried to load and display a bottom menu with this at the same time, so I created a new form, added the menu and loaded the activity using loadactivity("frm_main") before the cards code.

But it only shows the cards layout, how can I load multiple activities at once and have them all show. Do I need to set one activity "OnTop" or do I just need to space them so they don't overlap?
 
Upvote 0
Top