Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

Every time I click on the Navigation Drawer item, it closes and is not redirected to the intent activity. /* MainActivity.java */ NavigationView navigationView = findViewById(R.id.navigationview); ...
0 votes
1 answer
114 views

I have a DrawerLayout set up and everything is working fine. Until I create an options menu in one of my fragments via requireActivity().addMenuProvider(...). With that a tap on the hamburger icon ...
0 votes
1 answer
164 views

Android Studio ships with the sample app 'Navigation Drawer Views Activity', which can be created via the new app dialog. I've tried to follow the code in it to implement a navigation drawer in my app....
0 votes
1 answer
516 views

I'm trying to remove this ripple effect from my Navigation View without any luck. I tried following the answers from BottomNavigationView - Shadow and Ripple Effect and How to disable gray animation ...
0 votes
0 answers
79 views

Description: I am developing an Android app, and I have encountered an issue with the "Exit" option in the drawer menu. When I click on the "Exit" option, nothing happens, and the ...
1 vote
1 answer
56 views

I am currently facing an issue with the display of the main menu in my Android activity, specifically in the activity_welcome.xml layout file. After a user logs in, they are directed to the ...
2 votes
1 answer
1k views

How do you make a drawer to fill entire width of a screen? ModalNavigationDrawer( drawerState = drawerState, drawerContent = { ModalDrawerSheet( ...
0 votes
1 answer
42 views

xml code <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android&...
0 votes
1 answer
68 views

This is the full code of the xml. <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/...
0 votes
1 answer
79 views

So I've already read most of https://developer.android.com/guide/navigation/navigation-multi-module#groovy and fairly understand how to implement nav_graph and stuff. But I kinda have a bit of a ...
1 vote
2 answers
292 views

i wonder why its needed to use for the NavigationBar the following code snippet? actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawerLayout, toolbar, R.string.open, R.string.close); ...
-3 votes
2 answers
291 views

I tried changing the background color of Appbar using onTap in ListTile ListTile( title: const Text('Black'), leading: const Icon(Icons.label), onTap: () { ...
0 votes
1 answer
71 views

Inside the DrawerLayout in FrameLayout when I click the item of Navigation Menu, they keep clashing and stacking over each other, so what do I do? This is my Java code for loading fragment in the ...
2 votes
0 answers
38 views

<com.google.android.material.navigation.NavigationView android:id="@+id/nav_view" android:layout_width="wrap_content" android:layout_height="match_parent" ...
0 votes
0 answers
32 views

I have my drawerlayout widget on the same page as my main page and I want to separate it and create its own page. I want the main page to have its own xml page which will be located on the ...

15 30 50 per page
1
2 3 4 5
...
57

AltStyle によって変換されたページ (->オリジナル) /