errang
asked on
How to search data on a screen in Android
Hey,
I was wondering if there was a "SearchView" on the Android, common logic says yes... mainly because it was built by Google... but I haven't found anything called "SearchView", is it called something else? Or is there a widget we can put in our app to do the same thing?
Appreciate any help on this!
I was wondering if there was a "SearchView" on the Android, common logic says yes... mainly because it was built by Google... but I haven't found anything called "SearchView", is it called something else? Or is there a widget we can put in our app to do the same thing?
Appreciate any help on this!
ASKER
Hm... Yea, so is this implemented only on the java side? Or are there any XML elements I need to worry about?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Could you please give me a little hello world snippet? Even if its pseudocode?
The best place to see the demo code are samples provided by Google. You should follow the tutorial on how to get the samples here:
http://d.android.com/resources/samples/get.html
That's exactly how I learned Android programming, the samples are actually very good. There are some examples on SearchView:
http://d.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewFilterMode.html
Actually, there is a class called SearchView:
http://developer.android.com/reference/android/widget/SearchView.html
Is that what you were looking for?