Currently the same string (" ") is set on Toolbar's title and subtitle.
This means that the factory is unable to determine whether a given
TextView inside of a Toolbar is the title or the subtitle. The
consequence is that the font is not applied properly to the subtitle.
To clarify, if you specify a titleTextAppearance and a subtitleTextAppearance, your subtitle will get its font set to the titleTextAppearance's, since it checks if the title matches first. By using unique strings, it can differentiate between the two and apply the right font to the right view.
Currently the same string (" ") is set on Toolbar's title and subtitle. This means that the factory is unable to determine whether a given TextView inside of a Toolbar is the title or the subtitle. The consequence is that the font is not applied properly to the subtitle.
To clarify, if you specify a titleTextAppearance and a subtitleTextAppearance, your subtitle will get its font set to the titleTextAppearance's, since it checks if the title matches first. By using unique strings, it can differentiate between the two and apply the right font to the right view.