-
mark查看全部
-
mipmap只是用來存放圖標,多謝老師指導(dǎo),get到了。查看全部
-
。。。查看全部
-
12 14 18 22查看全部
-
通過layout.xml中的布爾值可區(qū)分不同的布局,以便實現(xiàn)不同的功能查看全部
-
最小寬度限定符: layout-sw600dp:屏幕寬度在600dp以上,識別為平板設(shè)備查看全部
-
使用large限定符,分別創(chuàng)建layout/main.xml,layout-large/main.xml下的不同布局,以適配手機和平板查看全部
-
weight計算出的寬度 = layout_width寬度 + (父布局寬度 - 父布局下所有布局的總寬度) * weight / sumweight查看全部
-
weight的計算方法查看全部
-
www.apkbus.com 圖片的比例放縮2:4:6:8查看全部
-
使用文字縮放需要用sp,而且必須12以上及偶數(shù)單位。例12sp,18sp,22sp、24sp查看全部
-
DPI = x^2+y^2再開方 / 屏幕尺寸查看全部
-
布局別名 res/layout/main.xml res/layout/main_twopanes.xml res/values/layout.xml <resources> <item name="main" type="layout">@layout/main_</item> </resources> Android3.2之前 large限定符(Android3.2之前) res/values-large/layout.xml <resources> <item name="main" type="layout">@layout/main_twopanes</item> </resources> Android3.2之后(sw600dp最小寬度限定符 small width) res/values-sw600dp/layout.xml <resources> <item name="main" type="layout">@layout/main_twopanes</item> </resources> 方向限定符: res/values-sw600dp-land/layout.xml res/values-sw600dp-port/layout.xml查看全部
-
安卓適配查看全部
-
屏幕像素密度查看全部
舉報
0/150
提交
取消