次のように、行を含む TableLayout を表示しています。
<?xml version="1.0" encoding="utf-8"?>
<TableRow
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/one"
android:layout_marginLeft="10dip"
android:textColor="#B0171F" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/one"
android:id="@+id/two"
android:layout_marginLeft="10dip"
android:ellipsize="none"
android:singleLine="false"
android:scrollHorizontally="false"
android:maxLines="10"
android:textColor="@android:color/black" />
</RelativeLayout>
</TableRow>
私はここで見つけることができ、テキストを複数の行に折り返すことができると考えることができるすべてのものでこれを打っていますが、役に立ちません: テキストは常に 1 行に強制され、画面からはみ出します。ここで TableRow 内で作業していることは重要かもしれませんが、私が知る限り、これはこのサイトでは扱われていません。
では、2 番目の TextView を多くの行に折り返すにはどうすればよいでしょうか?