标签:android style blog color width new
Paint mTextPaint = new Paint(Paint.ANTI_ALIAS_FLAG); mTextPaint.setColor(Color.WHITE); // Define the string. String displayText = “Hello World!”; // Measure the width of the text string. float textWidth = mTextPaint.measureText(displayText);
标签:android style blog color width new
原文地址:http://www.cnblogs.com/ysdxz207/p/3816901.html