Hello,
We want to add a panel on our activity that starts 10%x from the left side and has a width of 80%x, starts at 50dip height and is 80%y high.
This is the code we use for it. Now the problem is, everytime we debug it, the panel starts at the very left side of the screen. It doesn't matter what value we assign to set the left border of the panel, it will always start at the very left side of the screen.
Can someone please help us out.
Greets,
SCIS.
We want to add a panel on our activity that starts 10%x from the left side and has a width of 80%x, starts at 50dip height and is 80%y high.
B4X:
panels(i).Initialize("panels")
Activity.AddView(panels(i), 10%x, 50dip, 80%x, 80%y)
Can someone please help us out.
Greets,
SCIS.
Last edited: