私はこのレイアウトを持っています:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="left">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Some text" />
</LinearLayout>
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"/>
</LinearLayout>
ただし、最初のテキストビュー(LinearLayoutのテキストビュー)に大量のテキストがある場合、2番目のテキストビューは画面から消えます。これは、android:layout_weigh="1"を線形レイアウトに設定することで解決できます。ただし、この場合、線形レイアウトはすべてのスペースを埋めます。線形レイアウトでは、短いテキストの場合は最小限のスペースを埋め、線形レイアウトの場合は多くのテキストを非表示にしないようにする必要があります。