Obsolete
Status Update
Comments
r0...@gmail.com <r0...@gmail.com> #2
Hi,
set title before set Toolbar as ActionBar
Toolbar toolbar = (Toolbar) findViewById(R.id.my_awesome_toolbar);
toolbar.settitle("ddidid");
setSupportActionBar(toolbar);
set title before set Toolbar as ActionBar
Toolbar toolbar = (Toolbar) findViewById(R.id.my_awesome_toolbar);
toolbar.settitle("ddidid");
setSupportActionBar(toolbar);
bj...@gmail.com <bj...@gmail.com> #3
Hi,
Thanks for the answer :-).
I am searching for a solution to change the title some times (E. G. changing view). Or should i use for every fragmant an own toolbar?
Thanks for the answer :-).
I am searching for a solution to change the title some times (E. G. changing view). Or should i use for every fragmant an own toolbar?
as...@gmail.com <as...@gmail.com> #4
Hey not working for me?????
ke...@gmail.com <ke...@gmail.com> #5
I,m trying to change the toolbar title when activity run for the second time but it is working only for the first run.
wu...@gmail.com <wu...@gmail.com> #6
hi,i get the same issues,but i cant fix it. :( can u tell me what's wrong?thanks....
sa...@google.com <sa...@google.com> #7
Thank you for your feedback. We assure you that we are doing our best to address the issue reported, however our product team has shifted work priority that doesn't include this issue. For now, we will be closing the issue as won't fix obsolete. If this issue currently still exists, we request that you log a new issue along with latest bug report here https://goo.gl/TbMiIO .
Description
Currently i am testing the new material design on my app. I use AppCompat (21).
If i want to change the title toolbar.settitle("HUHU"); does nothing.
```
@Override
protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.fragment);
Toolbar toolbar = (Toolbar) findViewById(R.id.my_awesome_toolbar);
setSupportActionBar(toolbar);
settitle("YYEAY"); //WORKS
toolbar.settitle("ddidid") //DONT WORK -> Still YYEAY
etc ...
}
```