Android - 获取字符串长度的宽度

Paint paint = new Paint();
float strWidth = paint.measureText(String); 

 

posted @ 2015-02-01 18:01  wonkju  阅读(1272)  评论(0编辑  收藏  举报