1
私はこのコードを使用してテキストを折り返す作る:のTextViewがverticaly
Rect bounds=new Rect();
tv.getPaint().getTextBounds(text,0, text.length(),bounds);
float textWidth=bounds.width();
float textHeight=bounds.height();
をし、それが良いhortizalyの作品... も垂直方向のサイズは... okですが、テキストは、私よりも低い位置に描かれています...期待
これらのリンクは有用ではありませんでした:
auto scale textview text to fit within bounds
どうすればよいですか?