0
I recommend separating the two texts in title and subtitle
public void setTitles(String titulo, String subtitulo){
toolbar.setTitle(titulo);
toolbar.setSubtitle(subtitulo);
}
setTitles("Tocando","Nome Grande de música");
0
0
I recommend separating the two texts in title and subtitle
public void setTitles(String titulo, String subtitulo){
toolbar.setTitle(titulo);
toolbar.setSubtitle(subtitulo);
}
setTitles("Tocando","Nome Grande de música");
Obg man! See you later
Browser other questions tagged java android actionbar
You are not signed in. Login or sign up in order to post.
How so dynamic size?
– viana
The text can know the Actionbar limit size and resize the text, in the example above I have a very big name for Actionbar.
– Sayoan Oliveira