摘要: 方法一:Paint paint = new Paint();Rect rect = new Rect();paint.getTextBounds(String, int start, int end, rect);width = rect.width();height = rect.height();方法二:strWidth = paint.measureText(text); 阅读全文
posted @ 2013-08-09 14:09 邪天殇 阅读(420) 评论(0) 推荐(0) 编辑