Android Question CustomList view and Tablet question

trueboss323

Active Member
Licensed User
Longtime User
So i am trying to design an app both for phone and tablets. I got CustomListView to display correctly on a phone layout, but on tablet, it appears small, and there is a lot of unused space, is there anyway i can make the panel sizes bigger so it fills the whole screen?
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
You can create a layout file for the items and use the designer anchor and script features.

When you add the items to the list you need to first create the parent panel and temporary add it to a panel or activity. Adding the panel to a temporary parent allows you to set its correct size (based on the device). This is important for Panel.LoadLayout to work correctly.
 
Upvote 0
Top