It is necessary to add any text besides the title to the standard toolbar (Not a separate View). I know how to add icons, but the problem with the text
I'll try, and in this way you can add an infinite number of texts, or only 1? - timuruktus
2
If you look into the sources of the support-toolbar, then there are two TextViews in the markup inside the LinearLayout: @+id/action_bar_title and @+id/action_bar_subtitle .Therefore, you can add only 1 heading and 1 subtitle, if you use the standard toolbar. - Vadik
getSupportActionBar().setSubtitle("subtitle")- Vadik@+id/action_bar_titleand@+id/action_bar_subtitle. Therefore, you can add only 1 heading and 1 subtitle, if you use the standard toolbar. - Vadik