阅读背景:

如何管理不同分辨率和不同dpi的布局文件夹?

来源:互联网 

I have doubt that how we are going to create the different layouts to support all android mobile devices.As we know that we will be creating different layouts(mdpi,hdpi,xhdpi,xxhdpi,xxxhdpi..) in res folder. What is my question is eg:I am having two mobiles say moto e(253dpi) and samsung galaxy e7(267dpi) where both are xhpdi.Now I will be creating xhdpi for them.But here the two screen resolutions differs(moto e(540x960) and e7(720x1280) respectively). Now if I give some hard coded values in xhpdi xml.Whether my layout remains same for both devices?without any alignment issues?I have doubt that how we are going to create th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: