Increase the font size based on the size of the device

前端 未结 7 669
天命终不由人
天命终不由人 2020-12-14 16:53

I planned to use different font size for the textview on different device size so as to make the letters legible. I have already decided not to use different layouts for dif

7条回答
  •  清歌不尽
    2020-12-14 17:07

    Yes, this approach is flawed. Android devices have different sizes, but they can also have very different densities as well.

    enter image description here

    You should just be following the Android design best practices.

    enter image description here

    They're actually very well thought out. Why would you want to reinvent the wheel?

提交回复
热议问题