How can I change a title from tab child?
I tried a simple setTitle(…) but it won’t work.
(from the parent tab activity, it does, however…)
thanks,
Ori
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.
Actually I got it to work this way:
In the TabActvitiy, override:
onChildTitleChanged().
This method is called when a child activity invoking setTitle(). from there you can change the title of the screen.