I am a newbie in android programming, i have to design an activity exactly like the picture in the link. I am extremely confused about how to add that search view under my actionbar.
Asked
Active
Viewed 69 times
-2
-
just add it normally as first item in your xml – eriuzo Feb 24 '15 at 08:46
2 Answers
0
You have to make a custom action bar, below will can help you to make it.
How can I implement custom Action Bar with custom buttons in Android?
then, you have to use text watcher(http://www.learn2crack.com/2014/02/android-textwatcher-example.html) in search textbox and use these methods acc. to your need: 1. afterTextChanged 2. beforeTextChanged 3. onTextChanged

Community
- 1
- 1

BHARAT GUPTA
- 462
- 1
- 4
- 10