2016-01-06 145 views

回答

6

試試這個 用方向垂直替換爲RelativeLayout爲Linearlayout。

+0

它不是幫助:/ –

+0

更改到的LinearLayout先設置方向垂直,然後把你的按鈕,然後滾動型@beginner_android –

+0

更改根的RelativeLayout到的LinearLayout是不是讓我打開鍵盤和滾動仍在繼續下面的按鈕 –

0

你可以嘗試防止鍵盤滾動你的形式,這樣鍵盤會是你的佈局上面做這個:

添加到您的清單

<activity 
    android:name="yourActivity" 
    android:screenOrientation="portrait" 
    android:windowSoftInputMode="stateVisible|adjustPan"/> 

然後把這個裏面你ScrollView

<ScrollView 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:isScrollContainer="false"> 
</ScrollView> 

如果有什麼麻煩發表評論!

好運

+0

它仍然滾動到:( –

相關問題