Android Studio: Layout for phone and tablet

Pat37 :

I finished the layout for phone and it's working fine. Now I want to open this app on tablet too, but the layout isn't that nice. How can I make two layouts?

Thanks!

Gabriel 14 :

to create a tablet version of your layout in Android Studio go in Layout Design and click on the rotating device button.

A picture of what I'm talking about :

menu

This will create a copy of your layout for higher resolution.

You can also create a Landscape version if you have vertical and horizontal orientation in your app.

Hope it helps!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=334273&siteId=1