さて、私は一日中これを試してきましたが、エラーを見つけることができませんでした。私はリストビューを持っているxmlファイルを持っており、リストには後で検索バーとして使用するAutoCompleteTextViewが必要です。エミュレーターでアプリを実行すると、リスト ビューのみが出力されます。autocoplete の代わりに editText を使用しようとしましたが、何も起こりませんでした。ここに私のxmlファイルがあります
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".sqlviewpatients" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<AutoCompleteTextView
android:id="@+id/autoCompleteTextView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_weight="1"
android:ems="10"
android:text="AutoCompleteTextView" />
</RelativeLayout>
<ListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/relativeLayout1" >
</ListView>
</RelativeLayout>
私が間違っていることを教えてください。他に何ができるかわかりません