I searched for hours all they suggest is using customized cursor adapter. however I'm using content provider to fill the suggestion and don't have any cursor adapter . I'm able to find AutoCompleteTextView and change the font of the editable text view now, but I want to do the same for the suggestions. What should I do?
Asked
Active
Viewed 2,115 times
0
-
you'll need to Create your own search-view...that will far easier and more customizable – Sachin Rao Jun 18 '15 at 12:48
-
refere these links 1.) Create own SearchView : http://stackoverflow.com/questions/20643162/how-to-use-an-extend-searchview-in-fragment 2.)For QueryListener : http://stackoverflow.com/questions/6938952/android-create-custom-searchview-search-action – Sachin Rao Jun 18 '15 at 12:57
1 Answers
0
To change the font of text you have to implement your own CursorAdapter
and in bindView()
method get the reference to the TextView
and apply the font using TextView.setTypeface()
.

Chandrakanth
- 3,711
- 2
- 18
- 31