摘要: Rect bounds = new Rect(); String text = "Hello World"; TextPaint paint; paint = findViewById(R.id.hello_world).getPaint(); paint.getTextBounds(text, 0 阅读全文
posted @ 2020-05-11 18:33 brave-sailor 阅读(345) 评论(0) 推荐(0) 编辑