I'd like to replicate the search bar in Contacts app > Favorites > Search (sans icon). Could someone give me a few tips?
A linea开发者_Go百科r layout maybe with some top, left and bottom padding, width is fill_parent, and a weight of 1? With a button next to it with some right padding? How do I make the button look like that? Is there a parameter I can set to get the gradient background of the back? Or do I need to supply an image?
Screen shot
Check this tutorial and see the implemented code of that app in this git repo.
精彩评论