AutoCompleteTextView建议与Android状态栏重叠。如何修复?
我在Android 5.0上使用带有自定义适配器和过滤器的AutoCompleteTextView 以下是屏幕截图: 建议如下: 没有建议: 这是片段的Xml布局,没有工具栏:AutoCompleteTextView建议与Android状态栏重叠。如何修复?,android,user-interface,layout,autocomplete,Android,User Interface,Layout,Autocomplete,我在Android 5.0上使用带有自定义适配器和过滤器的AutoCompleteTextView 以下是屏幕截图: 建议如下: 没有建议: 这是片段的Xml布局,没有工具栏: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="m
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="Name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<AutoCompleteTextView
android:id="@+id/name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"/>
<TextView
android:text="Artist name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<AutoCompleteTextView
android:id="@+id/artist_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"/>
</LinearLayout>
</FrameLayout>
在父视图组中使用android:fitsystemwindow=“true”。您可以设置下拉高度。目前它正在包装整个内容