navigation-drawer Questions
3
Solved
I have and app created using the Navigation Drawer Activity Layout.. And I need to enable/disable some items programmatically
Menu Example
Example: I want to disable the Menu Item id nav_item2
I...
Mockheroic asked 29/4, 2016 at 13:51
2
I'm developing an application where I'm using new design support library's navigation view controller for drawer menu. Everything is working fine. I've set items for navigation view using app:menu ...
Prophesy asked 20/1, 2016 at 7:25
10
I have created a NavigationDrawer in my app using the ActionBar.
As showed in the picture above I want to change the NavigationDrawer toggle button icon to something I want. How can I change it?
...
Metagnathous asked 30/6, 2014 at 4:10
6
I have the new Navigation Drawer in my app and I want to change the navigation view menu items title text dynamically from code. I have watched many posts but I can't figure out, how can I do this....
Hairy asked 22/10, 2015 at 15:29
9
Solved
I have implemented drawerlayout which slides from the right but it does not shift the activity the right like facebook does (See below image). How do I push the current activity to the right side w...
Goodness asked 24/10, 2013 at 22:8
12
Solved
My navigation drawer keeps showing the last selected item.Is there any way to remove it.I want that if the user is at Home page, the navigation drawer items should be non-highlighted.
I have tried...
Juvenescence asked 30/8, 2016 at 7:26
4
Solved
PLEASE READ FIRST
BEFORE ANYONE MARK IT AS DUPLICATE QUESTION BECAUSE IT IS NOT.
I have used Navigation Drawer, Bottom Navigation bar and a custom Action bar.
Bottom navigation bar and action bar...
Threepence asked 4/7, 2018 at 10:13
6
What am I doing?
I have been trying to work with Androidx Navigation Drawer(<com.google.android.material.navigation.NavigationView>). I've read the documentation Here, which says that for ha...
Ulu asked 3/11, 2018 at 13:3
5
Solved
Is it possible to use a navigation drawer in android but instead of updating fragments, i would like to switch between activities as my means of navigation within the app.
Callis asked 18/10, 2013 at 5:39
1
Solved
I have been trying to implement navigation drawer in Jetpack compose. The following code shows a simple way to do it:
@Composable
fun ModalDrawerSample() {
val drawerState = rememberDrawerState(Dr...
Spadework asked 25/5, 2021 at 15:22
4
Solved
I am implementing an android app (in Kotlin, but that is not relevant to the Problem) in my free time and I try to use android jetpack and new libraries. I have a single Activity with a navigation ...
Busk asked 19/11, 2018 at 10:23
3
Solved
I am using the new Jetpack Android Navigation in combination with a Drawer Layout. Everything is working as expected when using the same IDs in the Drawer XML in combination with Fragments in the N...
Daybook asked 8/10, 2018 at 10:7
2
Solved
I have an activity with navigation drawer which replace the main_fragment_container on the activity.
When one of the fragments is displayed I want to change the layout of the toolbar and add a spin...
Hurless asked 18/11, 2014 at 5:48
6
Solved
I created the app and I want to use navigation drawer menu, but when I tried to edit in navigation drawer xml, then the problem "Waiting for build to finish..." happened and I don't see layout prev...
Bedrock asked 6/5, 2018 at 15:21
5
Solved
I currently have a navigation drawer with a toolbar that has a title, i wish to centre this title within the toolbar but the toolbar does not seem to take into consideration the drawer icon as you ...
Feces asked 12/11, 2015 at 4:30
9
Solved
The app I'm working on consists of a Navigation Drawer which is implemented in an Activity. The activity layout is as follows:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/and...
Alderney asked 31/5, 2015 at 7:13
4
Solved
i am using navigation view with expandable listview. i am adding header layout programmatically. but it cut off from top. if i give header layout height to 240dp than it looks ok but in lower versi...
Parasite asked 14/5, 2016 at 8:21
8
Solved
I have made a navigation drawer in Android in which I want to implement onClick for it. This is my main activity:
public class MainActivity extends AppCompatActivity {
private DrawerLayout mDrawe...
Paramnesia asked 17/2, 2017 at 11:57
4
I am new to Android and learning to create fragments in Android by following this
example: Fragment Navigation Drawer
The code between Navigating between Menu Items and Add Navigation Header consi...
Greenroom asked 11/9, 2015 at 15:38
11
Solved
Google recently released the android.support.design.widget.NavigationView widget as part of the com.android.support:design:22.2.0 library, which greatly simplified (and standardises) the process of...
Armory asked 3/7, 2015 at 10:17
13
In my application I need drawer navigation, for that I am using sample code from this. I have integrated everything in my application, but getting the following error
undefined is not a function...
Sirocco asked 20/11, 2018 at 7:53
2
Solved
I want to add the hamburger icon to the Appbar and open/close drawer using the icon.
How would I achieve this?
Scaffold(
drawerShape = RoundedCornerShape(topRight = 10.dp, bottomRight = 10.dp),
...
Ventris asked 4/9, 2020 at 9:36
5
Solved
I am using a toolbar in place of actionbar and i am also using a navigation drawer.My toolbar colour is black and i want my navigation drawer indicator colour to be white.So how to change the colou...
Robeson asked 25/7, 2015 at 12:34
7
Whats the proper way to handle the selected state of the navigation drawer after back press?
I have a navigation drawer with n entries (in a listview) like the SDK sample in Android Studio.
When i...
Rivet asked 7/1, 2015 at 17:2
1
I try to write an Android app which uses the Navigation Component from androidx, a toolbar and a drawer layout to slide in a setting menu from the left. I followed the guides Get started with...
androidandroid-fragmentsnavigation-drawerandroid-architecture-componentsandroid-architecture-navigation
Bumboat asked 21/2, 2021 at 16:12
© 2022 - 2024 — McMap. All rights reserved.