1
I would like to create a Drawer with a Actionbardrawertoggle.
I’m following this tutorial!
My only change is that I’m extending a FragmentActivity and not a Activity as the example.
When I run occurs one NullPointer in the following line:
getActionBar().setDisplayHomeAsUpEnabled(true);
For the getActionBar() is void!.
Would anyone know how to put one ActionBarDrawerToggle in a FragmentActivity?
I tested it here and it worked correctly! Thank you very much!
– Thiago Luiz Domacoski