Rect bounds = new Rect(); Paint textPaint = textView.getPaint(); textPaint.getTextBounds(text, 0 ... setText("bla"); textView.measure(0, 0); textView.
確定! 回上一頁