开发者

Contacts favorites search bar

开发者 https://www.devze.com 2023-01-10 14:24 出处:网络
I\'d like to replicate the search bar in Contacts app > Favorites > Search (sans icon). Could someone give me a few tips?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消