テキストビュー、ボタン、およびImageViewを持つフラグメントのEditTextを使用しています。キーボード編集時に表示されないAndroid EditTextタイプのテキスト
私の問題は、次のとおりです。
キーボードが表示されたとき、私は何イムタイピングを参照してください傾けます。
私のXMLコードは次のとおりです。キーボードが表示されたときに :
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/background_light"
android:clickable="true">
<!-- TODO: Update blank fragment layout -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="5dp">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="190dp"
android:background="@drawable/header" />
<TextView
android:id="@+id/head"
style="@style/Base.TextAppearance.AppCompat.Large"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="sub heading" />
<android.support.design.widget.TextInputLayout
android:id="@+id/request_til"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/request_et"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter your Name and Address here"
android:maxLines="10"
android:minLines="6" />
</android.support.design.widget.TextInputLayout>
</LinearLayout>
</ScrollView>
<Button
android:id="@+id/request_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/colorPrimary"
android:text="Button"
android:textColor="@android:color/background_light" />
</RelativeLayout>
</FrameLayout>
スクリーンショットを私はその後、私は何を参照することができなくなり何イムを入力した後に
誰かが私の問題
これは一種の機密アプリですか? – Leonardo
@ LeonardoFerrari:ここに問題がありますか? –
ボタンに制約が必要です。 「スクロール・ビューの下のレイアウト」を選択して、すでに追加したボトム・トップを整列させます。 –