+5 votes
121 views
in Android by
Hi all.
I'm starting to develop android and I have a problem I need to adjust the layout of my application to open both my tablet and my phone samsumg galaxy ace without a ScrollView
A greeting and thanks in advance

2 Answers

+6 votes
by
Not if you still need guidance for your development but adjusting for smartphone-tablet you see in the section on layouts where default is the "Layout" which is based on normal but this nexus think the "layout-small" "layout-small-land" ... etc looking a little about the subject but I oriento no problem greetings
by
With that only manages to make the design for a smartphone or a tablet but not both ...

You have to create the folder "res" another folder "layout-large" or "layout-xlarge" is called, depending on the size of the tablet and now this.
In the folder you design layout with nothing more for a smartphone and the other for the tablet, but always maintaining the same @ + id / or the code will fail.

A greeting.
+8 votes
by
That was because of the ... "all", "layout-small-land" ... "and I suggested search more information about
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...