Questions tagged [navigationview]

Provides navigation drawer access. Part of Android's design support library.

Summary

Helps developers follow Android's material design standards by providing access to the navigation drawer.

Navigation View

The navigation drawer can be an important focal point for identity and navigation within your app and consistency in the design here can make a considerable difference in how easy your app is to navigate, particularly for first time users. NavigationView makes this easier by providing the framework you need for the navigation drawer as well as the ability to inflate your navigation items through a menu resource.

Reference

770 questions
0
votes
2 answers

Android inflating a Navigation view in drawer layout giving exception

I am trying to implement a slide menu in android with navigation drawer. But it is giving me an exception at the point of inflating the navigation view. Why am I getting this exception? Here is my code: MainActivity.java …
0
votes
1 answer

NavigationView lag with network Image using Glide

I have an activity with a viewpager displaying three fragments. The third fragment is a basic recyclerview using a grid layout manager. The grid items are basic image and title items nothing complex and I am using Glide to load images. The problem…
frostymarvelous
  • 2,786
  • 32
  • 43
0
votes
1 answer

NavigationView items not checking

In my NavigationView, I have most of my items divided into sections with subheaders. I'm achieving this by putting a menu inside an item:
jacobz
  • 3,191
  • 12
  • 37
  • 61
0
votes
1 answer

Error with library android.support.design.widget

the problem is that android studio does not recognize the library to be imported. in the "build" file i added the lines below, but nothing that I solved the problem. the error says "android.support.design.widget" package not found compile…
0
votes
2 answers

Can I use NavigationView with SherlockFragmentActivity?

I'm looking to use the NavigationView, part of the Android design support library, instead of a ListView. I use SherlockFragmentActivity part of the ABS framework, my question is how can I use NavigationView with ABS (without usnig Appcompact) ?
TooCool
  • 10,598
  • 15
  • 60
  • 85
0
votes
1 answer

Filtering RecyclerView cards when NavigationView menu item selected

I have an Activity with the design support NavigationView implementation. The drawer has 3 menu items : Home, Sort by X, Sort by Y. My activity displays a RecyclerView with cards that shows data from a List. The list has objects that have a String…
0
votes
1 answer

New NavigationView starts from second item

I really don't know why but using the new android.support.design.widget.NavigationView i've got an issue. I'm able to create the correct drawer with the fragments is need and in my drawer_menu.xml i have this:
Atlas91
  • 5,754
  • 17
  • 69
  • 141
0
votes
5 answers

Android NavigationView Fragment State

I am using the new NavigationView in order to show a navigation menu with the Android Design Support Library. I am also using a FrameLayout into the DrawerLayout to replace fragments into it. The problem occurs when I change between fragments. I…
Gnzlt
  • 4,383
  • 2
  • 22
  • 24
0
votes
1 answer

How to use Framelayout with NavigationView from Support Design Library

How Can I add framelayout with the Navigation View where I am using framelayout as a container for fragments from the drawer.
-1
votes
1 answer

SwiftUI can you have a view in a loop?

In the app I am developing, I have multiple (23) screens that are the almost the same. They differ by a picture. The data for all of these can be kept in an array [String]. I tried calling a NavigationView (separate screen) inside a for loop but…
Huckleberry Carignan
  • 2,002
  • 4
  • 17
  • 33
-1
votes
1 answer

Closing A View From Another View

I am still learning SwiftUI and I have come across a small problem. In my app, I have a main view. On the top is a search bar and at the bottom, a menu with different buttons. I want to change views when clicking those buttons. However, I only want…
-1
votes
1 answer

UWP or XAML Navigation view highlight

I'm studying the Universal window platform. I have a question about the navigation view. In my page, Navigation view has 4 items. And, when I click the Button, I want to highlight the navigation view item. (ex : When i click the button, I want to…
Oeoela
  • 13
  • 3
-1
votes
1 answer

Swiftui navigationview and tabview give grey header

I have a two-tabbed tab view and in the second tab there are different pages being displayed. There is a navigationview and navigationlink within some of the pages. The navigation bar has a weird grey background that I can’t make go away. Any ideas…
-1
votes
1 answer

SwiftUI - TabView with nested NavigationViews resets Navigationflow

I'm having a TabView with Navigation Views in it. struct ContentView: View { var body: some View { TabView { NavigationView { NavigationLink("Link to my first Navigation Level", destination:…
-1
votes
1 answer

Is this possible to set hamburger menu below of Toolbar in NavigationView?

i want to change menu icon below of toolbar. Is this possible to change the icon position. Thanks in advance [