Hello, Surtax. Maybe i'm late with the solution of this problem, nevertheless. You've to include in searchable.xml an attribute: android:searchMode="queryRewriteFromText", for more information about searchModes look at http://developer.android.com/reference/android/app/SearchManager.html#SearchabilityMetadata
On 18 сен, 10:44, SurtaX <garylo....@gmail.com> wrote: > Hi for those who are familiar with thesearchbar this would be aquickanswer > (hopefully). If you look @ the searchable dictionary > example (http://developer.android.com/guide/samples/ > SearchableDictionary/index.html) it uses a content provider to > populate suggestions. That works great however when I use the > navigation keys to focus on certain suggestions this does not update > my currentsearchstring. And also how is it possible that instead of > launching thesearchstraight away, when a person clicks on a > suggestion it only replaces the currentsearchquery. An example may > help better understand the question. > > PressSearch > Use keyboard to enter the letter 'a' in thesearchbox > The suggestions "apple" "altogether" "apricot" are shown > > I use the down navigation key to get to" apricot", however the text in > thesearchboxis still just "a", I want it to become "apricot" > > And also when I press apricot on the suggestion I dont want it to > launch the intent but rather just replace the text insearchboxto > the text selected, and only actually launch the intent when the user > clicks thesearchbutton/enter key. > > I'm sure its just a value I need to set somewhere but I cant seem to > find it in the documentation. > > Thanks, > Gary --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---