Questions tagged [drawer]

753 questions
0
votes
0 answers

drawer item won't be clicked with nested layout

I can't click on drawer items with this nested layout Only if I move the DrawerLayout at the end of all other view I can click on its items but in this case all other view overlap the drawer What is the correct way to add a drawer into a nested…
adev
  • 367
  • 1
  • 3
  • 20
0
votes
1 answer

Android text color selector

I have a navigation drawer and a text selector which works really well. But I have a Dark theme where this selector have to be another, So I switch the selector at the ListAdapter like…
Csabi Vidó
  • 146
  • 1
  • 12
0
votes
1 answer

Is it possible to add sound to navigation drawer buttons?

is it possible to add sound to navigation drawer buttons? I managed to add sound to normal buttons by doing this; final MediaPlayer sound = MediaPlayer.create(getApplicationContext(), R.raw.buttonsound) Button button = (button)…
Android
  • 171
  • 1
  • 4
  • 16
0
votes
1 answer

how to customize the animations of the navigation drawer when opening

I have an app with a navigation drawer and tab bar (view pager) and when the nav. drawer is opened, 3 distinct animations occur, which together make the experience very un-smooth (clunky). the navigation drawer opens the tab bar disappears the…
droideckar
  • 1,077
  • 10
  • 20
0
votes
2 answers

Navigation drawer highlighting

I have a navigation drawer and i use selector to get the highligghted item of the list The problem is that…
Csabi Vidó
  • 146
  • 1
  • 12
0
votes
1 answer

How to merge android View with DrawerLayout in XML

I'm trying to do a sliding menu for my app which is activated when pushing a button but I don't have so big idea about how to achieve that. At the moment, I'm following this tutorial. My problem at the moment is that I'm trying to merge the…
Razvi
  • 400
  • 4
  • 17
0
votes
1 answer

NavigationDrawer toggle icon

I use support libary to make a material like theme and I would like to change the drawer icon to the arrow when its opened. I found some post here but I couldnt figure out the solution because I use the navigaton drawer sample by the android studio…
Csabi Vidó
  • 146
  • 1
  • 12
0
votes
0 answers

android how update drawer menu after oncreate method

How Can I change some options on my Drawer Menu after execute onCreate method? I tap on "Configuration" option of my App, change some parameters and save to DB, when return to Main Intent and call the menu, I want to see "new" options because I…
user3285457
  • 9
  • 1
  • 4
0
votes
2 answers

MMDrawerController having slider on each View Controller

I am using MMDrawerController for making left slide menu in iOS. The problem is that all the view controllers I am using in this project are having slider with them i.e in each UIViewController I can slide to get left menu but I want only with the…
person
  • 123
  • 8
0
votes
1 answer

Add headers to Navigation Drawer

I just followed this tutorial http://www.tutecentral.com/android-custom-navigation-drawer/ and I made an application that uses a Navigation Drawer. If you take a look at that link, you'll see that there are 2 parts: one in which he makes the app and…
Alec
  • 347
  • 2
  • 9
  • 29
0
votes
0 answers

Change DrawerIcon programmatically

I am trying to change the drawer icon programmatically (when using the DrawerLayout thats the icon with the 3 lines). In the drawer I can set some properties inside my app, and when those properties are set I would like to change the color of lines…
user3466562
  • 465
  • 2
  • 10
  • 23
0
votes
1 answer

Implement Navigation Drawer Activity to existing app

I made a simple app which when I open it I see the wallpaper and the 2 buttons.First button opens my gallery and the second one opens a Calculator app. Now I want to be able to slide from left to right and bring up the Navigation Drawer Activity. I…
Alec
  • 347
  • 2
  • 9
  • 29
0
votes
0 answers

Android navigation online drawer update of itmes

I'm stuck at the point where I need to update items of the navigation drawer on the fly/online. My navigation drawer is based on this tutorial http://www.tutecentral.com/android-custom-navigation-drawer/ I want to update one item of the drawer…
Berton
  • 93
  • 2
  • 9
0
votes
1 answer

how to include items in navigation drawer

Here is MainActivity.java public class MainActivity extends ActionBarActivity { // inisiasi toolbar private Toolbar toolbar; // navigation drawer private DrawerLayout drawerLayout; private ActionBarDrawerToggle drawerToggle; String title = "My…
Aroo
  • 141
  • 1
  • 10
0
votes
1 answer

What is a better way to implement a system wide side panel (similar to navigation drawer) in Android

My aim: have a Page slide onto the screen when the user swipes in from the left side of any screen. My current solution: I start my Service (GlobalTouchService) which creates a narrow transparent view (floatingView) with an OnTouchListener this…
vgergo
  • 71
  • 2
  • 7