We all know about AutoCompleteTextView , It is an editable text view which shows a list of suggestions when user starts typing text. Basically it is use for filter the list based on entered characters. In this post we will create custom AutoCompleteTextView with Text Highlighter .So lets move to the coding part. Step 1: Create spinner_item_divider.xml file under drawable folder <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android= "http://schemas.android.com/apk/res/android" android:layout_height= "wrap_content" android:layout_width= "wrap_content" > <item> <shape android:shape= "rectangle" > <solid android:color= "#000000" /> </shape> </item> <item android:bottom= "0.5dp" > <shape android:shape= "rectangle" > <solid android:color= "#f...