Autocomplete Textview in Android
AutoCompleteTextView is used to show list of suggestion and select one of them . Basically it looks like as EditText before type . It's a sub class of EditText . Lets see how we can easily implement the AutoCompleteTextView in android . Step 1: Create Project a) Open Android Studio b) Go to File >New> New Project > Project Name > Next > Next > Next > Finish Step 2 : Layout Design open activity_main.xml file and add the bellow code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#ff33b5e5"> <AutoCompleteTextView ...