예제 #1
0
 public static float spToPx(Context context, float sp)
 {
     return(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, sp, context.Resources.DisplayMetrics));
 }