How to implement the Android Material design's "inset Search box" using the Android's builtin Search Framework? -


note: have seen this , this question, , question not duplicate (they not solve confusion).

from android material design specification search,

the search text field presented inside of inset search box, ready receive focus.

and picture shown:

enter image description here

they have shown kind of searchviews @ many different places in material design specification e.g. here

but can't locate guide/tutorial describing how make this. web search, have found this answer, using edittext , imageview, not using searchview widget.

the biggest question in case search framework android api's provide, explained in guide. builtin search framework provides easy way implement functionality associated providing search in app, i.e. provides way integrate our search android system system handles user's search queries searchview, delivers them searchable activity, provides way add voice search , search suggestions functionality, etc.

so in order use material design "inset search box", have write code handle user input searchview/edittext, enable voice search, recent suggestions , suggestions app's data? or there way integrate edittext (we using search widget) system have assisted search?


Comments

Popular posts from this blog

python - argument must be rect style object - Pygame -

c++ - Qt setGeometry: Unable to set geometry -

How to resolve Delphi error: Incompatible types: 'PWideChar' and 'Pointer' -