Questions tagged [android-drawer]

98 questions
0
votes
2 answers

How can I customize on specific menu item on Navigation drawer?

I've been trying to put the background color on a specific item from the menu on Navigation Drawer. However, I had found some solutions that were coding on Navigation Drawer but it changes the whole item's color or for selected items. This is the…
0
votes
3 answers

Drawer layout not working android

The image of the screen I don't know why there is a question mark on my drawer layout and don't know why it is not working as I created the whole screen from following a youtube tutorial This is the navigation_menu.xml
0
votes
1 answer

Prevent DrawerLayout from opening the right side when closing the left side?

I have a DrawerLayout with two drawers, one on the left and one on the right side. activity_main.xml
Magnus
  • 17,157
  • 19
  • 104
  • 189
0
votes
1 answer

Accessibility Talk back Will not Interrupt

I am working on an android app and testing accessibility. In our MainActivity we have a left nav DrawerView, and load various fragments with recycler views based on user's left nav choice. When testing accessibility/talkback we noticed that if talk…
erik
  • 4,946
  • 13
  • 70
  • 120
0
votes
1 answer

How do i change Drawer item parents Text color?

How do i change the item parents Text color that's in the drawer? I would like to change the Profiles text Color since i can barely see it in the drawer.
0
votes
4 answers

How to handle onBackPressed() in multiple fragment

I am Android beginner, I am developing an app in which I have used multiple fragments through an activity. private void displaySelectedScreen(int itemId) { Fragment fragment = null; switch (itemId) { case R.id.nav_home: …
Neeraj Kumar
  • 645
  • 1
  • 7
  • 15
0
votes
4 answers

Android: Hide 3 dots from Navigation view header at right

How to hide 3 dots from Navigation header which comes in the right of header? This could be repeated question. I found few similar questions and their answers but they were for older version of Android. I am using Android sdk 21. Any idea how to…
NGR
  • 1,230
  • 2
  • 15
  • 44
0
votes
1 answer

Inner View Layout inside of DrawerLayout always returns FrameLayout

I have LinearLayout inside of DrawerLayout which renders drawer item and views according to layout_weight. I am trying to hide that view programmatically by setting its height to 0 or with View.Visibility - GONE property. Tried By setting its…
Vikalp Patel
  • 10,669
  • 6
  • 61
  • 96
0
votes
3 answers

Changing background Color of DrawerLayout

I'm trying to change the color of the DrawerLayout in my app
styles9
  • 23
  • 3
  • 9
0
votes
4 answers

Android - Calling RecyclerView in Fragment of Navigation Drawer

My trouble is when I want to call RecyclerView into Fragment of NavigationDrawer and items (arrays) that I call via RecyclerView not called, but when I do not put into Fragment it could be called. So Here is my code. Here is my Fragment.java and it…
0
votes
1 answer

Android Studio - Opening a navigation drawer from a fragment class

I'm trying to open and populate a navigation drawer with a separate fragment by clicking on a button. The drawers themselves are only empty RelativeLayouts declared in activity_main.xml.…
user4945896
0
votes
1 answer

Screen always fit System Windows in Android Material Drawer

I am developing an Android app. In my app, I am using material drawer- https://github.com/mikepenz/MaterialDrawer to set up drawer on the left. I can set up the drawer easily. But it is having issue. It always fit to system windows like in the…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
0
votes
2 answers

android left drawer list icon not showing

activity_main_drawer.xml
0
votes
4 answers

RelativeLayout$LayoutParams cannot be cast to android.support.v4.widget.DrawerLayout$LayoutParams

I am trying to use navigation drawerLayout in android app but my app is crashing due to an error at drawerLayout.closeDrawer(listviewsliding); I could not find how can I fix it and I need suggestions. Error is: java.lang.RuntimeException: Unable to…
nabia saroosh
  • 399
  • 1
  • 14
  • 36
0
votes
1 answer

android - FragmentActivity and Navigation Drawer

Problem : When I click an item on the drawer it doesn't show the FragmentActivity that is supposed to be shown. App is ok it doesn't have errors when I compile it and It doesn't crash when I click an item in the drawer MainActivty private void…
GG WP
  • 1
  • 2