キーボードを開いてこのエディットボックスにデータを入力すると、全体のレイアウトは縮小しています。私ものmanifest.xmlで android:windowSoftInputMode="adjustResize"
Weight属性を使用してLinearLayoutでScrollviewを実装する方法
を試みたが、キーボードは、この問題を解決する方法を私を助けてくださいWhen Keyboard is not visible
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="10">
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:padding="10dp"
android:hint="UserName"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:padding="10dp"
android:hint="Address"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:padding="10dp"
android:hint="Phone"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:padding="10dp"
android:hint="Email"
/>
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2"
android:padding="10dp"
android:hint="Gender"
/>
</LinearLayout>
</ScrollView>
表示されている時はいつでも、まだこのレイアウトが縮小します。このレイアウトをスクロール可能にする方法はありますか?
画面をご提示ください。 –