Do I need 14 different layouts to support all Android devices?

后端 未结 4 497
别跟我提以往
别跟我提以往 2020-11-28 01:43

I\'m really feeling confused. From the docs at developer.android.com, it seems in order to keep my images scaled correctly (aspect ratio too) across all current Android dev

4条回答
  •  猫巷女王i
    2020-11-28 02:37

    Your app will work on 100% of the devices with the classic layout.

    You can just add some buttons or change the layout in landscape mode by adding some qualifiers but that's up to you!

    For instance, on LDPI (small resolution) device, you may want to adjust some buttons or change a little bit to fit the small screen.

    You may also want to put some buttons on the right in landscape mode and in the bottom of your layout in portrait!

    You do not "have to" use them.

提交回复
热议问题