摘要: Rect bounds = new Rect(); String text = "Hello World"; TextPaint paint; paint = findViewById(R.id.hello_world).getPaint(); paint.getTextBounds(text, 0 阅读全文
posted @ 2017-05-26 17:59 lucktian 阅读(3868) 评论(0) 推荐(0) 编辑