ウィンドウの高さを埋めるEditTextが必要です。私はこれを使用しています:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true" >
<EditText
android:id="@+id/text_editor"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:background="#ff0000"
android:gravity="top|left"
android:inputType="textMultiLine"
android:textColor="@android:color/white" />
</ScrollView>
しかし、私が得るのは1行のEditTextだけで、これは、戻るボタンを複数行入力して何かを書くと、より長くスクロール可能になります。行番号を設定できることはわかっていますが、この場合はさまざまなデバイスで機能するはずであり、すべてのデバイス(おそらく)の行数は異なります。
デバイスの高さを強制的に満たすにはどうすればよいですか?
任意のヒント?