2012-07-04 57 views
0

在屏幕上,我在頁面底部有一個EditText和2個選項卡,當點擊EditText時,選項卡隨着軟鍵盤打開向上移動。 如何將選項卡固定到屏幕底部,以便在軟鍵盤打開時不會向上移動。 在此先感謝.. !!Tabs向上移動Edittext

+0

看到這個http://stackoverflow.com/a/4208067/985143 –

回答

5

在應用程序的清單文件,在當前的活動標籤把

android:windowSoftInputMode="adjustPan" 
+2

+1這裏是更多的信息:[Android的windowSoftInputMode - 調整軟鍵盤的應用程序](http://www.vogella.com/blog/2010/10/25/android-windowsoftinputmode /) –

+0

更多信息請看http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft – user370305

1

只是把這個消息

機器人:windowSoftInputMode = 「adjustPan」

在活動menifeast文件。