Questions tagged [drawer]

753 questions
0
votes
2 answers

How to implements hamburger icon in Drawer toggle

I read this post but if I implements getActionBar.setIcon(drawer) method it is not exactly that I want. Following the instructions, the result is a simple icon in ActionBar. This is my case. I have this: And this in a seconds Activitys: I want…
aldakur
  • 419
  • 4
  • 16
0
votes
1 answer

Polymer Main Text is displayed on top of the drawer

I played around with polymer again, so I created a basic page with the help of some great tutorials on youtube but I always get this issue when opening the drawer. As you can see the menu icon and the "Polymer" title is from the bottom toolbar.…
André Kuhlmann
  • 4,378
  • 3
  • 23
  • 42
0
votes
2 answers

Android App Starts Imported Module and Not MainActivity

New to android. I'm implementing a navigation drawer and upon selecting a specific button (position 0 in the drawer) I'm going to start an activity. These activities are defined in modules that I've imported. To start with I created the navigation…
jonnyd42
  • 490
  • 1
  • 9
  • 23
0
votes
1 answer

Android Navigation Drawer with Page Sliding tab Strip

I'm trying to use Android Navigation Drawer with Page (Pager) Sliding tab Strip (https://github.com/Balaji-K13/Navigation-drawer-page-sliding-tab-strip), but i couldn't make it work. I'm using android studio. I made the imports in main project, and…
TroniPM
  • 329
  • 3
  • 13
0
votes
1 answer

How to make Drawer icon and logo two different button in ActionBar

I have a problem where I need to be able to click both the logo and the backarrow+hamburger/cater from my action bar. when i don't have anything in my backstack, Hamburger icon is displayed and is opening my left drawer (then via animation it…
0
votes
0 answers

HTML deskDrawer not working on mobile

I'm using a desk drawer for my page when it's in phone. But for some reason when I try out the links inside the desk drawer on mobile, they won't work. I was hoping anyone could give me a hint as to what I'm doing wrong. Because it works when I try…
Jurgen Feuchter
  • 544
  • 1
  • 7
  • 29
0
votes
0 answers

Old title in drawer still shows up even after notifyDataSetChanged, only updates once you click a title

I'm new to android and i was having a problem regarding my drawer. I have several options in my navigation drawer. In my home page there is a default list of items inside the drawer. When the user logs in it changes depends on the status of the…
Kairi San
  • 239
  • 1
  • 9
  • 23
0
votes
0 answers

my navigation drawer shows below my gridview

the other day , i create a navigation drawer of the android examples , but this shows below my gridview. The code is from the example , I dont know what happend fragment_navigation_drawer.xml
0
votes
1 answer

Keep Button above opening Navigation Drawer

I have a button in my main content and I want this button to stay at the same position when I open the Navigation Drawer and above the Navigtion Drawer. I have already tried to put a margin on the navigation drawer, but the problem then was that the…
0
votes
1 answer

How to make a bottom bar in Material theme Drawer activity

For my music application, I would like to add a bottom bar which works as the current playback display. As I would like to use one for all fragments, I would just like to add it in the MainActivity. But I'm not sure about how to do it in the layout…
Made by FA
  • 710
  • 2
  • 7
  • 27
0
votes
1 answer

Navigation drawer will not open while extending to another class Android

I am extending my NavigationObject class to my other activity classes but the drawer would not come out when I click on the menu. Here is my NavigationObject: public class NavigationObject extends ActionBarActivity implements…
nothingness
  • 694
  • 3
  • 9
  • 25
0
votes
0 answers

How to call menu Objects from another class Android

I have a class with the Menu and Navigation drawer (navObj class). I would like to call the menu and drawer from my other activity classes. For example, I want to call the menu on my main activity class using the objects from navObj class. Here is…
nothingness
  • 694
  • 3
  • 9
  • 25
0
votes
1 answer

cannot open navigation drawer

DrawerActivity.java public class DrawerActivity extends MainActivity{ private DrawerLayout mDrawerLayout; private ListView mDrawerList; private ActionBarDrawerToggle mDrawerToggle; private CharSequence mDrawerTitle; …
Jerryc
  • 302
  • 2
  • 5
  • 20
0
votes
1 answer

Android - set drawer icon half visible

I have a custom icon for a drawer and i want to place it vertically centred on activity with a shift of X axis -50%, so when the drawer opens the other 50% is visible. what do i need: ImageView vertically centred and aligned to left Half of this…
Bugdr0id
  • 2,962
  • 6
  • 35
  • 59
0
votes
1 answer

Navigation Drawer does not recognize custom adapter layout

Can someone point out what's the problem with this code snippet Custom adapter public class NavigationAdapter extends ArrayAdapter { private Context context; private NavItem[] values; public NavigationAdapter(Context context, int…
Kise
  • 2,823
  • 1
  • 24
  • 43