Android UI Design: Supporting Multiple Screens

后端 未结 6 1281
鱼传尺愫
鱼传尺愫 2020-11-30 01:19

I have read this tutorial SUPPORTING MULTIPLE SCREENS several times and many stackoverflow questions regarding Design Android UIs to fit well with all android screen s

6条回答
  •  孤街浪徒
    2020-11-30 02:09

    Instead of using the dp size unit you can use the sdp size unit that is relative to the screen size.

    Using the sdp size unit you will have the same user experience on all screen sizes with only one layout xml.

    Use it carefully! for example, in most cases you still need to design a different layout for tablets.

    For text view sizes please refer to the ssp size unit (based on the sp size unit)

提交回复
热议问题