Android 如何避免在给定allignParentButton=true的相对布局中跳跃布局。。。?

Android 如何避免在给定allignParentButton=true的相对布局中跳跃布局。。。?,android,android-linearlayout,android-relativelayout,android-edittext,Android,Android Linearlayout,Android Relativelayout,Android Edittext,我有一个相对布局,它有两个项目,一个是列表,另一个是自定义布局 在列表视图中,有编辑文本。当用户点击编辑文本时,弹出软键盘 然后自定义布局就会出现在键盘顶部 这使得我输入值的空间非常小 如何避免这种行为,是否有线性布局的解决方案 这是代码 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" and

我有一个相对布局,它有两个项目,一个是列表,另一个是自定义布局

在列表视图中,有编辑文本。当用户点击编辑文本时,弹出软键盘

然后自定义布局就会出现在键盘顶部

这使得我输入值的空间非常小

如何避免这种行为,是否有线性布局的解决方案

这是代码

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:background="@drawable/tab_top_bg" android:orientation="vertical">

    <include android:id="@+id/bottomNavigation2" layout="@layout/bottom_navign_other"
        android:layout_width="fill_parent" android:layout_height="65dp"
        android:layout_gravity="center_vertical"
        android:layout_alignParentBottom="true" android:layout_marginLeft="4dp"
        android:layout_marginRight="4dp" android:layout_marginTop="4dp"
        android:layout_marginBottom="4dp" />


    <ExpandableListView android:layout_width="fill_parent"
        android:background="@drawable/tab_top_bg" android:layout_height="fill_parent"
        android:id="@+id/list" android:cacheColorHint="#00000000"
        android:focusableInTouchMode="true" android:listSelector="#00000000"
        android:layout_marginLeft="4dp" android:layout_marginRight="4dp"        
        android:layout_above="@id/bottomNavigation2">
    </ExpandableListView>

</RelativeLayout>


提前谢谢

看一看

试试看,这是清单文件中的当前活动标签谢谢。。!它的工作如预期,但软键盘是弹出在开始自己。我想在用户单击编辑文本时弹出软键盘。如何操作。从该标记中删除“stateVisible”。就像,让我知道发生了什么。我回答了那个问题。看那个。谢谢。嗨,在我的另一个问题中回答同样的问题。这是我开始的50悬赏。但是你的回答解决了我的两个问题。所以你是我可以用这笔赏金奖励的人。这里是尽快的链接答案。明天就要结束了。