Be brave enough to face yourself when you are afraid...
float dips = 16.0f; // Convert the dips to pixels final float scale = getResources().getDisplayMetrics().density; int ps = (int) (dips * scale + 0.5f); Paint imagePaint = new Paint(); imagePaint.setTextSize(ps);
張貼留言
沒有留言:
張貼留言