![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 适配
ManLikeTheWind
全部都是知识
展开
-
android屏幕适配详解
官方地址:http://developer.android.com/guide/practices/screens_support.html一、关于布局适配建议1、不要使用绝对布局2、尽量使用match_parent 而不是fill_parent 。3、能够使用权重的地方尽量使用权重(android:layout_weight)4、如果是纯色背景,尽量使用android的s转载 2017-03-23 17:35:13 · 400 阅读 · 0 评论 -
android 适配写法 drawable layout values
四、皮肤文件夹的 说明: 一)关于分辨率适配:1. drawable-xxhdpi:主要存放超超高密度图片: a. Icon:144 x 144;b.屏幕密度:480;c.适配机型的分辨率:1080 x 1920;2. drawable-xhdpi:主要存放超高密度图片:a. Icon:96 x 96;b.屏幕密度:320;c.适配机型的分辨率:原创 2017-03-23 17:37:17 · 3288 阅读 · 0 评论