0

I am using MaterialDrawer library and I trying to change the hamburger icon.
I found this answer in here.

but I cannot understand from the answer how to use the toggle variable over there and it doesn't seems to work for me.

is there any way of changing it then?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
TheAndoOne
  • 109
  • 1
  • 7

1 Answers1

0

As per the documentation of the library you are using you can switch between hamburger-icon to back-arrow icon with the following code snippet:

result.getActionBarDrawerToggle().setDrawerIndicatorEnabled(false);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);