Android Question Center / Align Fields

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I have 5 fields (panels) I want to be spaced equally and centered across the screen.

Is there a way to do this with designer and anchors?
 

emexes

Expert
Licensed User
Longtime User
As long as your app only runs on devices with the same aspect ratio, then the panel positioning and spacing should stay the same proportionally to the screen.

To handle different aspect ratios, the simplest solution is to use a designer script.

 
Upvote 0

teddybear

Well-Known Member
Licensed User
How do you want the 5 fields to be spaced equally and centered across the screen? Vertically or horizontally? Are all the fields of the same width and height?
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
How do you want the 5 fields to be spaced equally and centered across the screen? Vertically or horizontally? Are all the fields of the same width and height?
Right now there are 5 the same size panels (based on availabe screen size) that I want equally spaced across the top.

I can do this easily in code. Just want to see if I can do this in designer.
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Have you seen this?

 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Have you seen this?

Yes, will give it a go
 
Upvote 0
Top