Questions tagged [actionbardrawertoggle]
60 questions
0
votes
0 answers
ActionBarDrawerToggle: Instead of Arrow Keep the Hamburger with the Animation
I've tried quite a bit messing around with the ActionBarDrawerToggle & the Styles.xml with themes but nothing that I've tried or out there on Google & Stack seems to be what I need.
I'm using the v7 ActionBarDrawerToggle.
As the title says, what…

Jay Gunawardena
- 65
- 2
- 12
0
votes
0 answers
Why is my DrawerToggle onClick not getting called?
When I am adding a fragment to my activity I am changing the hamburger icon to back arrow image and trying to set onClick to it.
But for some reason it is not getting…

pagalpanda
- 150
- 2
- 16
0
votes
1 answer
Two scroll views for two-sided navigation drawer hides toggle
I have spent a lot of hours trying to find the problem with ActionBarDrawerToggle, but the problem is in my main layout.
Let me show what the problem is.
Here is example, how it looks like initally after application start.
As you can see…

CROSP
- 4,499
- 4
- 38
- 89
0
votes
1 answer
Android - ActionBarToggle method not resolved by Android Studio
I'm trying to implement Material Navigation Bar. I followed someone's tutorial for it. But I'm facing a little problem. Android Studio resolves everything except for drawer_open and drawer_close parameters for the constructor of…

swap
- 11
- 1
- 2
0
votes
0 answers
Alternative for ActionBarDrawerToggle
I'm creating an application which got both an ActionBar and a navigation drawer. I need a way to change the indicator of the action bar at some cases to have an up button (the arrow sign) instead of the 3 navigational drawer dots.
When trying to…

CodeMonkey
- 11,196
- 30
- 112
- 203
0
votes
1 answer
The method setHomeAsUpIndicator is undefined for the type ActionBarDrawerToggle
I'm trying to use the support v4 ActionBarDrawerToggle in order to change the action bar indicator to a back arrow instead of the navigation drawer's 3 dots. I'm also using the v4 Fragment, v4 Drawerlayout, v7 ActionBar and v7…

CodeMonkey
- 11,196
- 30
- 112
- 203
0
votes
1 answer
Drawer toggle not working as expected (icon remains the same)
I'm trying to implement an ActionBarDrawerToggle into my app but I can't make it. I've achieved to show the toggle in my toolbar, but the icon is the same always.
This is toggle's icon when drawer is closed:
https://i.stack.imgur.com/HTcom.png
And…

alexhzr
- 153
- 1
- 1
- 12
0
votes
2 answers
Android - ActionBarDrawerToggle cannot be resolved
Hi I am getting this error in the
ActionBarDrawerToggle cannot be resolved when I import this in my activity android.support.v7.app.ActionBarDrawerToggle;
I have already imported appcompact_v7 and android-support-v7-appcompact libaries.
It gives…

SkipperPenguin
- 41
- 5
0
votes
1 answer
How to make navigation drawer toggle forcibly close all the time
I am using DrawerToggle with toolbar in my project. I have a requirement to make drawer toggle in active (i.e it should not open or close on click or swipe). But I am completely struct how to achieve the things by making the toggle event standstill.…

Chandru
- 5,954
- 11
- 45
- 85
0
votes
1 answer
NullPointerException in ActionBarDrawerToggle, navigation drawer, android?
I am getting NullPointerException in ActionBarDrawerToggle
LogCat:
Caused by: java.lang.NullPointerException
at com.appp.AppActivity.onPostCreate(AppActivity.java:482)
at…

WISHY
- 11,067
- 25
- 105
- 197
0
votes
1 answer
ActionBarDrawerToggle clickable through open drawer layout
I'm trying to implement a simple navigation drawer. For this I use the support libraries for DrawerLayout, ActionBarActivity and ActionBarDrawerToggle.This is how it currently looks. The problem is that the navigation drawer toggle is clickable when…

Waldhuette
- 46
- 5
-1
votes
1 answer
DrawerLayout unresolved in ActionBarDrawerToggle
i am trying to build a navigation drawer and i am using a actionbardrawertoggle for this. I set the parameters and there is no errors associated with them. The only thing is that my id of my drawerlayout in activity_main.xml isn't "recognized" as a…

Federico Zein
- 1
- 1
-1
votes
2 answers
Android menu with ActionBarDrawerToggle
I have a simple task:
Create a menu with few items which opens on a toggle action bar button.
My activity_main is:

djomla87
- 93
- 1
- 3
- 13
-1
votes
1 answer
Exception at mydrawer.setDrawerListener(myactiontoggle) in Android
I am using drawer in my project but sometimes it throw NullpointerException, below is my code where I got exception:
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
toggle = new ActionBarDrawerToggle(TabSample.this,…

ankit
- 2,591
- 2
- 29
- 54
-1
votes
1 answer
Android Navigationdrawer toggle hamburger icon
I am using android.support.v7.app.ActionBarDrawerToggle as package for ActionBarToggle and it has the constructor as
mDrawerToggle = new ActionBarDrawerToggle(
this,
mDrawerLayout,
…

pullarao
- 1
- 1