मुझे कुछ विचारों के साथ एक लेआउट मिला है, जिसमें से एक संपादन टेक्स्ट है। लेआउट आसानी से एक पेज पर फिट बैठता है, लेकिन, जब सॉफ्ट कीबोर्ड बाहर होता है, लेआउट स्क्रॉल नहीं करता है। यहाँ मेरी लेआउट का संक्षिप्त है:एंड्रॉइड: स्क्रॉलव्यू कीबोर्ड के साथ स्क्रॉल नहीं कर रहा है
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background" >
<ScrollView
android:id="@+id/ScrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<CheckBox/>
<TextView/>
<LinearLayout>
<EditText>
<requestFocus />
</EditText>
</LinearLayout>
<TextView/>
<LinearLayout>
<Spinner/>
</LinearLayout>
</LinearLayout>
</ScrollView>
<Button
android:layout_alignParentBottom="true" />
</RelativeLayout>
और मेरे प्रकट में मैं विशेषता घोषणा की है:
android:windowSoftInputMode="adjustResize|stateHidden"
किसी को भी कारण है कि यह काम नहीं करता है और कैसे यकीन है कि यह काम करता है बनाने के लिए पता है?
अग्रिम धन्यवाद!
, इस संबंधित पोस्ट की जाँच: [एंड्रॉयड - scrollview समायोजित जब कुंजीपटल एंड्रॉयड 5.0 (लॉलीपॉप) के लिए निर्भर है] (http://stackoverflow.com/questions/27167176/android-adjust-scrollview-when- कीबोर्ड-अप-अप-एंड्रॉइड -5-0-लॉलीपॉप) –