Questions tagged [drawer]

753 questions
-1
votes
1 answer

Displaying Navigation drawer in all activities problem

I'm making a navigation drawer with different activities and i want to display the same navigation drawer in all activities , i take the same code and put it in all activities but when i click on the activities my app crashes all the time i don't…
Tube Vary
  • 49
  • 4
-1
votes
4 answers
-1
votes
1 answer

react-native-navigation side menu

I'm trying to use the library react-native-navigation v2, i need some help I'm stuck with the side menu, i can't make it work... I initialized my layout like this : Navigation.events().registerAppLaunchedListener(() => { Navigation.setRoot({ …
-1
votes
1 answer

Replacing inflateMenu at Runtime

I have method t change the menu of navigation drawer, I remove the line at XML file activity_main.xml
-1
votes
1 answer

React native drawer states

I am new to react native, I used a drawer menu, but how to know it's state, i.e, is there something like _drawer.is_Open() ?
Tamimi
  • 3
  • 2
-1
votes
1 answer

View pager content is not shown when we go from a drawer activity to that fragment?

I have a view pager and it is showing content when it is in starting page but when we take that page from drawer activity it is not showing any content.Can anyone help me to solve out this?
-1
votes
1 answer

How can I Create DrawerLayout Dynamically without any xml files just from Code

I want to create DrawerLayout Dynamically without any xml files just from Code i found some examples to make items Dynamically but i want to create everything Dynamically not only items can i do that? Please help me
MSAG
  • 31
  • 5
-1
votes
1 answer

OnClick Event for Navigation Drawer items

I have a trouble with my app. I want to make an app that has WebView and will change the URL when I click one of the items on the navigation drawer. For example: Facebook Twitter Github and so on. But I couldn't implement the onClick event. I am…
Tərlan Əhəd
  • 179
  • 3
  • 10
-1
votes
2 answers

How to create "category" in the list item?

I would like to create some category, to separate the name of the items in the drawer menu. But I have only this in the strings.xml : Slider Menu
zouarv42
  • 15
  • 9
-1
votes
2 answers

common navigation drawer on different activities

I have built an application with an navigation drawer activity in it but now I want it to be present on my other activities as well. I don't want to handle events again and again in different classes. Also I got suggestions like making one base…
Adarsh Chaudhary
  • 67
  • 1
  • 1
  • 7
-1
votes
1 answer

How to use Android Studio default Navigation Drawer in all Activities

How to use the Android default Navigation in other Activities? I don't want to use the back button. MainActivity: public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { TextView…
-1
votes
2 answers

android studio, open drawer right after it is closed

I have a drawer and ive tried to double it. Well it went pretty well, but i had an issue with part of it. If I open the first drawer and click on an item it opens a new drawer and you can choose again. So far so good. the problem is I was tring to…
Tal Gonen
  • 29
  • 5
-1
votes
2 answers

Hiding NavigationDrawer on app start

I have problem with my application, I use NavigationDrawer in it, and whenever my app is launching, NavigationDrawer is opened. I have no idea what is causing this, but this is annoying... How can I prevent this behavior?
Adam Staszak
  • 1,674
  • 14
  • 16
-1
votes
2 answers

Android, handle onBackPressed while drawer is showing

In default, when the drawer is showing and you press the BackButton it automatically close. but I want when it's showing and user clicks on BackButton, close the app. I tried these solution but didn't work : Navigation drawer, handling the back…
Ali Aqa
  • 31
  • 1
  • 7
-1
votes
1 answer

How to change slider menu to custom view?

I am new to android.I had developed an android app with a slider menu using the library. I want the menu in this way: Now I want to change slider menu to my custom xml view .How can I change this with this library?? is it possible ?? Please help me…
Maxwell
  • 552
  • 2
  • 5
  • 20