Questions tagged [toolbar]

The toolbar tag is for issues relating to the configuration, design, and use of toolbars.

In a graphical user interfaces, a toolbar is a GUI widget on which on-screen buttons, icons, menus, or other input or output elements are placed. Toolbars are seen in office suites, graphics editors, and web browsers.

3572 questions
403
votes
10 answers

How do I use DrawerLayout to display over the ActionBar/Toolbar and under the status bar?

I've seen in the new material design Side Nav spec that you can display the drawer over the action bar and behind the status bar. How can I implement this?
Chris Banes
  • 31,763
  • 16
  • 59
  • 50
335
votes
27 answers

In android app Toolbar.setTitle method has no effect – application name is shown as title

I'm trying to create simple application using android-support-v7:21 library. Code snippets: MainActivity.java public class MainActivity extends ActionBarActivity { Toolbar mActionBarToolbar; @Override protected void onCreate(Bundle…
krossovochkin
  • 12,030
  • 7
  • 31
  • 54
141
votes
8 answers

Creating a SearchView that looks like the material design guidelines

I'm currently in the process of learning how to convert my app to Material design and I'm a bit stuck right now. I've got the Toolbar added and I have made my navigation drawer overlay all the content.I'm now trying to create an expandable search…
Mike
  • 2,593
  • 3
  • 16
  • 20
139
votes
16 answers

How do you set the title color for the new Toolbar?

I'm using the new v7 Toolbar and for the life of me can't figure out how to change the color of the title. I've set the @style of the Toolbar to a style declared in styles.xml and applied a titleTextStyle with a textColor. Am I missing something? …
Dennis
  • 1,697
  • 2
  • 12
  • 15
133
votes
18 answers

How to set Toolbar text and back arrow color

Toolbar background is dark color, I want text and back arrow to be white. I tried following, but it doesnt work.