Android Question bug in designer variant height?

rbirago

Active Member
Licensed User
Longtime User
In a B4A application I'm developing there are some panels that I use to load different groups of views.
For now I use two different variants (small screen and larger screen) and so also the subpanel layouts are different.
I have defined the variant layout measuring the available screen space, but when I create the variant the height size is wrong (see the attached example).
Where is the trick?
thanks in advance
 

Attachments

  • Screen Height Size.png
    Screen Height Size.png
    45.8 KB · Views: 213

rbirago

Active Member
Licensed User
Longtime User
it is not a screen, but a panel. Is the height of the panel in the "father" layout. I suppose that if I set an height of 50 points more then the automatic choose of the variant of the panel doesn't work properly...or not?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Moved to the questions forum.

You are doing a mistake to try to match a specific size. It is also a mistake to use multiple variants unless you really must. Use anchors and designer script instead.

You can uncheck Show Title and check Full Screen (in the "activity" properties) to remove the two bars and get the extra height.
 
Upvote 0
Top