Android Search Dialog and Suggestions ListView: Change theme and colours

后端 未结 2 1712
梦谈多话
梦谈多话 2021-01-21 07:29

I\'ve implemented a simple search dialog that performs a custom search of the data within my app (Via a custom provider) as according to the guidelines here: http://developer.an

相关标签:
2条回答
  • 2021-01-21 07:33

    After 13 hours spent on the question, it turns out it's not possible for some reason. Apps that do have visually customized search dialogs- even if it's just the colours - must implement them manually, and probably don't use the standard search interfaces.

    0 讨论(0)
  • 2021-01-21 07:54

    as per google docs SearchDialog is

    "The search dialog is a UI component that's controlled by the Android system."

    So to have a control over search visuals use as for today :

    ActionBarSherlock dev branch

    https://github.com/JakeWharton/ActionBarSherlock/tree/dev

    and this :

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

    to implement fully controlable search

    0 讨论(0)
提交回复
热议问题