Alberto Michelis Well-Known Member Licensed User Longtime User Jun 16, 2015 #1 Hi, I had an app using the 320x480 480x320 variants. I add the tablet portrait and Landscape variants and when I go to design I see it like the attechad image. All control are minimals. I've tried with Autoscalerate but it does nothing. How do I design it? Attachments 2015-06-16_1115.png 48.4 KB · Views: 361
Hi, I had an app using the 320x480 480x320 variants. I add the tablet portrait and Landscape variants and when I go to design I see it like the attechad image. All control are minimals. I've tried with Autoscalerate but it does nothing. How do I design it?
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2015 #2 Try to avoid adding these variants. Instead use anchors and designer script to implement a flexible layout. AutoscaleAll will not do anything if the variant size is similar to the device size. Upvote 0
Try to avoid adding these variants. Instead use anchors and designer script to implement a flexible layout. AutoscaleAll will not do anything if the variant size is similar to the device size.
Alberto Michelis Well-Known Member Licensed User Longtime User Jun 16, 2015 #3 any example of a design for a phone 380x420 and a tablet? I understand but I'm confused. Upvote 0
Alberto Michelis Well-Known Member Licensed User Longtime User Jun 16, 2015 #4 In all my activities, all the views are "Activity parent", I see many examples that use a panel and all the views inside it. Is this a good practice? Upvote 0
In all my activities, all the views are "Activity parent", I see many examples that use a panel and all the views inside it. Is this a good practice?
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2015 #5 Alberto Michelis said: Is this a good practice? Click to expand... It doesn't really matter. Both options are good. There are several examples in the guides: https://www.b4x.com/android/documentation.html Upvote 0
Alberto Michelis said: Is this a good practice? Click to expand... It doesn't really matter. Both options are good. There are several examples in the guides: https://www.b4x.com/android/documentation.html