How to put the text in the actionbar with dynamic size? I need to set in different sizes of text and have to frame dynamically.
public void setarTituloActionBar(String nome){
setTitle(nome);
}
The set is 100%.
I recommend you to separate 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");