take a look at

http://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget

and

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewActionBar.html


Am 09.10.11 22:58, schrieb Jean-Michel:
> Hi guys,
> I just (late and fairly stupidly) realised that one of the big
> differences of Honeycomb is the lack of "always there standard
> buttons" (home, back, search, menu).
> 
> Home seems to be there all the time, as well as back (at least it is
> for my app).
> 
> I found out how to get my menu back (target a SDK below 11), but I
> have been Googling for last 3 hours in order to discover how to get a
> search button in the action bar and I failed...
> 
> So to make sure things are in perspective:
> - my app min SDK is 8;
> - I'd like to have the same code accross the board
> - I am using search to trigger a custom  action in a custom activity
> (still like a search, but not really a search).
> - furthermore I am using long press on serach as well.
> 
> How can I have that on tablets whithout ruining the "other users"
> experience or write a specific  SDK 11+ version.
> 
> Many thanks,
> JM
> 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to