views:

26

answers:

0

Hi everyone! I have a question I've been searching an answer for in the last days with no luck.

I'd like to have a search facility in my app - and that's not a problem, I've read lots of stuff on the topic. What I can't find anything about is how can I provide a custom search UI, like you have in the official Twitter app, that allows me to follow the new Google's UI guidelines (see pattern #5). It seems Google hasn't open sourced Twitter client yet, despite their promise to do so.

I couldn't either find anything about providing custom suggestions Views like you find in Google Search bar, to provide an extra "click to edit entry" area for each suggestion:

See screenshot (Android 2.2): http://i.imgur.com/rYqBh.jpg (sorry, couldn't post images nor more than one link)

Can anyone kindly point me towards a solution for either of these questions?
Thank you very much.



EDIT: just to be perfectly clear about issue #2, I know how to bind a custom View to the adapter, I just don't get how to refer to each result's View, how to access to each "edit entry" button's onClick, etc.