Questions tagged [drawer]

753 questions
6
votes
1 answer

How to put SVG icons in flutter?

Put this code in pubspec.yaml flutter_svg: ^0.19.3 Even I put in assets these assets: - assets\icons\logo.jpg - assets\icons\menuicon.svg - assets\icons\searchIcon.svg In code it looks like this IconButton( icon:…
Anar
  • 71
  • 1
  • 1
  • 2
6
votes
1 answer

React navigation - how to nest drawerNavigator inside stackNavigator

I am using react-navigation, I want to open a drawer from MyProfile screen, having the options to go to EditProfile screen and Settings screen. But I can't figure out how to open a drawer when I click on MyProfile's header button. App.js: const…
JAM
  • 740
  • 3
  • 15
  • 33
6
votes
1 answer

How to Create Drawer menu without Navigation?

I am looking to create a drawer, similar to a drawer navigator, but without the routes/navigation requirement. I plan on placing some other components there that update a query. Any recommendations? Specifically the drawer would be used to display…
S.B.
  • 437
  • 2
  • 6
  • 19
6
votes
2 answers

Z-Index issue on iOS using Material UI Drawer component

I am using the Material UI Drawer component in a project. I am having a specific issue with an iPad which causes two issues as far as I can see: - Overlay is not appearing on top of the nav bar and body content - Drawer is not appearing on top of…
daveGeo
  • 323
  • 1
  • 3
  • 9
6
votes
1 answer

Android FLAG_KEEP_SCREEN_ON Fragment Nav Drawer

I use the Navigation Drawer, and in a Fragment that is open I want to have the active screen. I use: getActivity().getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); But this thing light up the screen in every fragment of the…
6
votes
0 answers

childViewControllerForStatusBarHidden For Hiding

I am trying to hide half of my status bar. Specifically, I am using REFrostedViewController for my side drawer, and when it comes out, I would like it to go over the status such as in this picture (the app is Google's Inbox). The current hierarchy…
Will Hua
  • 1,729
  • 2
  • 23
  • 33
6
votes
3 answers

Android Studio Share button

I wanted to make a share button on a Navigation drawer, when the user touches the button it will open up that black drawer with the list of all applications and the user can share the apps Google play link. Is there any generic code template? the…
Ryan
  • 433
  • 3
  • 8
  • 14
6
votes
2 answers

New Navigation Drawer - how to use titles and counters?

http://developer.android.com/design/patterns/navigation-drawer.html I've read through the tutorial to create the navigation drawer, but what do I have to do to also use the title, icons, and counters as part of the drawer items? I only see in the…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
6
votes
0 answers

Android: Java: The Deprecation of SlidingDrawer

After doing some reading on developer.android.com I am seriously considering the removal of menu drawer navigation from my app. Before I do, however, I wanted to hear your opinion: why was android.widget.SlidingDrawer deprecated as of API…
Quasaur
  • 1,335
  • 1
  • 10
  • 27
5
votes
4 answers

Flutter Drawer below AppBar

I've implemented a Drawer in my Flutter app. Closed Drawer: Opened Drawer: As you can see, the Drawer is on top of the Appbar. Before I started the app on Flutter, we had a native Android app with a Drawer that used to look like this: Closed…
Ale
  • 2,282
  • 5
  • 38
  • 67
5
votes
1 answer

how to keep sliding drawer off the top of the virtual keyboard

I've been scratching my head all day over this. on one of my activities (and only one) when i call up the virtual keyboard the sliding drawer handle appears above it. i managed to fix this problem on all the other activities in my app by putting…
iHorse
  • 113
  • 1
  • 4
5
votes
1 answer

Disable swipe for open drawer but NOT for closing

I want to disable the opening of a drawer via swipe, but not the closing via the swipe or back button. I'm using fragments in my drawer, so that when the drawer opens I replace my fragment and add it to the backstack. On pressing the backbutton, the…
Spookysister
  • 259
  • 3
  • 9
5
votes
0 answers

App crashing using MMDrawerController Gesture in drawer

I am using MMDrawerController for showing drawer. My app is crashing on clicking on the drawer menu options. It works well in iOS9 but crashes in iOS8. Does anyone have any idea about what is happening here. Am I missing something here? I am getting…
kalim sayyad
  • 1,076
  • 1
  • 9
  • 13
5
votes
2 answers

Using MMDrawerConroller how to disable rotation is some ViewControllers?

I am using MMDrawerController in my application from this link I set the root ViewController in the AppDelegate this way: self.leftDrawerController = [[LeftDrawerViewController alloc] init]; self.homeViewController = [[HomeViewController…
sazz
  • 3,193
  • 3
  • 23
  • 33
5
votes
2 answers

Open Navigation Drawer at startup

I'm fairly new to android programming and developed an app that has a Navigation Drawer implemented. Per Google guidelines, i'd like the NavDraw to start open but am unable to do this. This is my onCreate (I guess this is where I should implement…
surubutna
  • 87
  • 2
  • 7
1 2
3
50 51