Home > Mobile >  The app screen scale problems
The app screen scale problems

Time:11-05

I now do a rectangle button long is the percentage of mobile phone width, the percentage of high is highly mobile, thus appeared the deformation problem, I guess to width to height ratio according to the mobile phone to set the width of the button, the deformation is small, excuse me, how to set?

My small white, please say a bit more points, or classic posted to send a,

CodePudding user response:

Wrap_content aspect you use?

CodePudding user response:

I recommend highly adapted the commonly used models of fixed die, or to get the screen height, according to the different sizes of phone set high proportion, this should do the mainstream screen adaptation, the width of the casual, deformation are generally highly effect

CodePudding user response:

You should be involved in the android screen adaptation problems, https://juejin.im/post/5ae9cc3a5188253dc612842b? Utm_source=gold_browser_extension # comment, personally think that this article is quite good, you can also directly baidu android screen adaptation, there are a lot of adaptation scheme,
  • Related