How to dynamically update a ListView on Android [closed]
First, you need to create an XML layout that has both an EditText, and a ListView. <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:orientation=”vertical” > <!– Pretty hint text, and maxLines –> <EditText android:id=”@+building_list/search_box” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:hint=”type to filter” android:inputType=”text” android:maxLines=”1″/> <!– Set height to 0, and let the weight param expand it –> <!– Note the use … Read more