摘要: px和dp(sp) 之间转化公式: 1 乘以(dp转px)或者除以(px转dp) scal缩放因子,在上浮0.5f /** * 密度转换像素 * */ public static int dip2px(float dipValue) { return (int) (dipValue * scale 阅读全文
posted @ 2018-08-29 10:49 JavAndroidJSql 阅读(2773) 评论(0) 推荐(0) 编辑