我的應用程序有layuot活動這樣Android的 - 滾動型不推升時,鍵盤會出現
<RelativeLayout
android:id="@+id/layoutMain"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/backgroundchatfixed">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/layoutKhungChat"
android:id="@+id/svChat">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/layoutChat">
</LinearLayout>
</ScrollView>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/background_khungchat"
android:layout_alignParentBottom="true"
android:id="@+id/layoutKhungChat">
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/khungchat_chat"
android:layout_centerVertical="true"
android:id="@+id/etChatbox"/>
</RelativeLayout>
</RelativeLayout>
當我撫摸我的EDITTEXT,只有佈局「layoutKungChat」推高。 任何解決方案也推動上滾動視圖? 謝謝。
sho有些發生了什麼事情。 – keshav