I want to create an Activity
on the top of which there will be a Search Bar
, and on the basis of the search I will query the database and show the result on the same Activity
below. I might choose any kind of layout
for showing those results. I am thinking of creating a Canvas
to show results in formatted manner (like we see in Google Play Store app).
I have also searched some posts but this is not my requirement.
- http://developer.android.com/guide/topics/search/search-dialog.html
- Android Search Interface not submitting query
- problems with search interface in android app
- http://matthias.jimdo.com/2011/06/06/how-to-add-search-functionality-to-your-android-application/
How can I implement what I actually want to:
############Activity##############
@@Search bar here................@
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------
-------------Result Here----------