次のコードがあります:
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textView2"
android:layout_below="@+id/editText1"
android:layout_marginTop="30dp"
android:text="@string/cm_diameter"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textView3"
android:layout_below="@+id/textView3"
android:layout_marginTop="28dp"
android:text="@string/from"
android:textAppearance="?android:attr/textAppearanceSmall" />
私が使用しているパラメーターは、相対レイアウトに接続されています。
スクロール ビューを使用して、このテキスト ビュー (別のビューもあります) をラップしたいと思います。
私の画像は、スクロール ビュー (緑のビュー) と、スクロール ビューの下に別のコンテナー (黒のビュー) を示しています。どうすればこの結果を達成できますか?
スクロール ビューでライナー レイアウトを使用しようとしましたが、予想とは異なる結果になりました。