I wounder if there some example on how to create a searchbar just like twitter app in android?
http://2.bp.blogspot.com/_GTM_W5mVPTU/S-rmYdiUTCI/AAAAAAAAAEE/hIO9GD53SLc/s1600/search2.png
and also I wonder about the popup.
Are there any samples?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For the search bar, I would just implement a custom Activity that handles the search action within your app. If you notice, when you press search from within Twitter it takes you to an entire new screen, with that bar at the top, a location bar below that, and then a ListView of suggestions. That just looks like a custom Activity to me that mimics the built in search function. I could be wrong, but I know of no way to customize the built in search bar that heavily.
As for the popup, look at the answers to this question: Android Quick Actions UI Pattern