TabWidget在Android中底部不稳定
我创建了一个布局,其中TabWidget位于底部。布局代码如下TabWidget在Android中底部不稳定,android,layout,tabs,tabwidget,Android,Layout,Tabs,Tabwidget,我创建了一个布局,其中TabWidget位于底部。布局代码如下 <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> <RelativeLayout android:layout_
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="0dp"
android:layout_height="0dp"/>
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="48dp"/>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="center_horizontal" />
</RelativeLayout>
但当软键盘出现时,键盘上就会出现TabWidget。如何使其稳定,并始终位于软键盘后面。尝试在特定活动标签android:WindowsOfInputMode=AdjustNothingHanks bro的Menifest中添加以下内容