Hi i want to put button beside activity title in android. I can change the text using setTitle() but I haven’t find anything which allows to put button beside title of Activity. I am using android 4.0.3. Can anybody help me?

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.
Create xml file in your project name topbar.xml
And add this layout in any layout by just writing:
Hope this will help you.