テキスト、いくつかの EditTexts およびいくつかのボタンを表示するために、内部に TableLayout を含む LinearLayout を持つ画面で作業しています。
問題は、スマートフォンで、レイアウトの上部にある EditText をクリックすると、下部にあるボタンがソフト キーボードの後ろに隠れてしまうことです。ボタンを再度表示する唯一の方法は、ソフト キーボードを非表示にすることです。
ソフト キーボードの上にレイアウトを作成してビューのボタンまでスクロールすることは可能ですか? ユーザーはソフト キーボードとボタンの下部を見ることができますか?
TableLayout の周りで ScrollView を使用しようとしましたが、レイアウトのボタンまでスクロールしないため、ユーザーは下まで見ることができません。
これは私のレイアウトです:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:id="@+id/linearLayoutMain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:orientation="vertical" >
<include layout="@layout/login_container"/>
<LinearLayout
android:orientation="horizontal"
android:background="@drawable/_grey_rounded_bottom"
android:layout_width="match_parent"
android:layout_height="30dp"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
前もって感謝します。