标签:android sp on div bs nbsp res text dp
float density = context.getResources().getDisplayMetrics().density;
px = (int)(dp * scale + 0.5f);
dp = (int)(px / scale + 0.5f);
标签:android sp on div bs nbsp res text dp
原文地址:http://www.cnblogs.com/cll-android/p/4129002.html