Android Question Variations not scaling properly

PFlores81

Active Member
Licensed User
Longtime User
Since upgrading my device to Kitkat one of my builds is not scaling properly. Nothing in the build has been changed as far as autoscale or previous variations. just a trim to the overall copy code has been made. nothing involving resizing. Any reason for this?
 

PFlores81

Active Member
Licensed User
Longtime User
This is the original before the scripting for resizing. this is the original layout file that gave me trouble first.
 

Attachments

  • main1.bal
    14.6 KB · Views: 254
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I highly recommend you to remove all the variants and instead use the designer script (together with AutoScaleAll) to make your layout fit any device.

You should check the value returned by Activity.LoadLayout. This call returns the values of the loaded variant. Maybe it is different than what you expect.
 
Upvote 0

PFlores81

Active Member
Licensed User
Longtime User
I highly recommend you to remove all the variants and instead use the designer script (together with AutoScaleAll) to make your layout fit any device.

You should check the value returned by Activity.LoadLayout. This call returns the values of the loaded variant. Maybe it is different than what you expect.


Thanks Erel, I will do that today after work.
 
Upvote 0
Top