How can i made the layout that will work in both Tablet and phone?

后端 未结 4 1920
天涯浪人
天涯浪人 2020-12-06 07:46

I made the layout from xml with on tablet layout of emulator size. But when open on same layout on android phone device then every thing distorted, So can i make a xml layou

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 08:26

    Make two separate layout for mobile or tablet just go your default layout design and click on orientation for preview and after click on create tablet variation. And after will see two layout for tab and mobile this is a easiest.

提交回复
热议问题