corwin42 Expert Licensed User Longtime User Dec 17, 2010 #1 Hi, I was very busy in the past but now I started to have a closer look at B4A. I'm just working through the tutorials and as it was with B4PPC, B4A is really great and simple to work with. The designer is really great but the layouts are very static. Is it possible to create dynamic/relative layouts? A Button which fills the screen width etc.?
Hi, I was very busy in the past but now I started to have a closer look at B4A. I'm just working through the tutorials and as it was with B4PPC, B4A is really great and simple to work with. The designer is really great but the layouts are very static. Is it possible to create dynamic/relative layouts? A Button which fills the screen width etc.?
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2010 #2 A Button which fills the screen width etc.? Click to expand... You will need to do it programmatically. You can use the percentage units for this: Code: Copy Dim Button1 As Button Button1.Initialize("Button1") Activity.AddView(Button1, 25%x, 25%y, 50%x, 50%y) 'creates a button quarter of the screen size and in the middle Upvote 0
A Button which fills the screen width etc.? Click to expand... You will need to do it programmatically. You can use the percentage units for this: Code: Copy Dim Button1 As Button Button1.Initialize("Button1") Activity.AddView(Button1, 25%x, 25%y, 50%x, 50%y) 'creates a button quarter of the screen size and in the middle
G GaNdAlF89 Active Member Licensed User Longtime User Mar 5, 2014 #3 How can I do to calculate the correct text size of label and edit text? Last edited: Mar 5, 2014 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2014 #4 Please start a new thread for this question. Upvote 0