G ggg New Member Licensed User Longtime User Aug 10, 2015 #1 I have had months of using the B4A Designer for layouts with no problems. Recently I added one view to a complex layout (a checkbox), and the application no longer resembles the layout in the designer. I have searched the forum and tried to modify my layout and settings with no success. So I stripped away all but a few elements and the problem is still there. So here is a very simple app that shows the problem. Below is the image of the layout in Designer and then as shown in my app. It is the same on two different devices. The app is nothing more than declaring globals and a single line to load the layout. I have attached the app below if someone would like to see it in more detail and test it in their configuration. Any help would be appreciated. Thanks. Attachments Designer_Issue.zip Designer_Issue.zip 485.4 KB · Views: 402 Last edited: Aug 10, 2015
I have had months of using the B4A Designer for layouts with no problems. Recently I added one view to a complex layout (a checkbox), and the application no longer resembles the layout in the designer. I have searched the forum and tried to modify my layout and settings with no success. So I stripped away all but a few elements and the problem is still there. So here is a very simple app that shows the problem. Below is the image of the layout in Designer and then as shown in my app. It is the same on two different devices. The app is nothing more than declaring globals and a single line to load the layout. I have attached the app below if someone would like to see it in more detail and test it in their configuration. Any help would be appreciated. Thanks.
klaus Expert Licensed User Longtime User Aug 10, 2015 #2 You have two layout variants in your file ! 320 * 480 / 160 360 * 640 / 160 The first image corresponds to the first layout variant. The second image corresponds to the second layout variant ! Depending on the device the OS chooses the best fitting layout variant. Upvote 0
You have two layout variants in your file ! 320 * 480 / 160 360 * 640 / 160 The first image corresponds to the first layout variant. The second image corresponds to the second layout variant ! Depending on the device the OS chooses the best fitting layout variant.