Android Question Layout position

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I design layout (buttons, labels etc.) on my galaxy s2, once I install the app on tablet
all the stuff is located on upper left of the screen
how can I do something that will adjust the locations of all - at least on middle & center of the screen?
or is there a better generic way to do this?
 

James Chamblin

Active Member
Licensed User
Longtime User
You can use anchors and/or the designer script to change behavior on different size screens. Another way is to create two layout variants. One for phones and one for tablets. Look at the Beginner's Guide, chapters 8.9 - 8.11
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
look this video! i make this on pt-br , but i think you can understand the video.
How to use %
obs: put this on hd
 
Upvote 0
Top