johannilsson / android-actionbar

DEPRECATED Android Action Bar Implementation
1.3k stars 564 forks source link

Transition to searchbar #22

Closed andreibalmos closed 13 years ago

andreibalmos commented 13 years ago

Add the possibility of creating a SearchAction that would change the aspect of the ActionBar, turning it into a configurable SearchBar. It would be good for those who don't need the standard search interface and want to build a custom one.

johannilsson commented 13 years ago

There will be more possibilities to customize the layout in a future update, when you say SearchBar what is the specs for such bar? Are you referring to something like the one lined out in the blog post Twitter for Android: A closer look at Android’s evolving UI patterns?

andreibalmos commented 13 years ago

Yes, something like that. Essentially only a edittext and a button is needed. Of course, it could be more complex. I'm using your library and implementing the searchbar on a project. I will post here how things turn out. Anyway thank you for the library. It's lightweight and flexible. I love it

johannilsson commented 13 years ago

Thanks for the kind words. Please let us know your progress and if you can at all reuse anything of the action bar within the search bar you're implementing. I'm trying to keep this project as small as possible and a search bar might be better in a separate project. But I do plan to add the possibilities for "drop down menus" a la quick action for actions, this might be something that can be shared between the components.