その上に「戻る」ボタン(テキストビュー)があり、その下にテキスト入力のあるスクロールビューがあります。それらのいずれかをクリックすると、キーボードが表示され、すべてが上に移動します。ただし、戻るボタンを常に表示したいです。どうすればこれを達成できますか?
windowSoftInputMode で遊んでみましたが、望ましい結果が得られませんでした。
<RelativeLayout
android:id="@+id/backC"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
android:id="@+id/backbutton"
style="@style/backbuttonstyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
/>
</RelativeLayout>
<ScrollView
android:id="@+id/signupscroll"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/backC"
>
//stuff is here
</RelativeLayout>
</ScrollView>