You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+38-31Lines changed: 38 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
8
8
# Table of Contents:
9
9
> -[ Introduction ](#introduction)
10
+
> -[ Requirements ](#requirements)
10
11
> -[ Implementation ](#implementation)
11
12
> -[ Prerequisite ](#prerequisite)
12
13
> -[ Create `Activity.xml`](#createActivityXML)
@@ -23,6 +24,12 @@ It follows all Material Design Guidelines as stated [here](https://material.io).
23
24
`MaterialNavigationView` class in this library is inherited from [`com.google.android.material.navigation.NavigationView`](https://github.com/material-components/material-components-android/blob/master/docs/components/NavigationView.md) class. Just only difference is added extra design. <br>
24
25
So, we can use it as it is.
25
26
27
+
<aname="requirements"></a>
28
+
## Requirements
29
+
- AndroidX
30
+
- Minimum SDK API 19
31
+
- Theme - Material Components
32
+
26
33
<aname="implementation"></a>
27
34
## Implementation
28
35
Implementation of Material Navigation View library is so easy. You can check [/app](/app) directory for demo. Let's have look on basic steps of implementation.
@@ -90,37 +97,37 @@ We are creating `activity_main.xml`
90
97
As already mentioned, this class is inherited from `NavigationView`. You can use all exisiting flags of that class. <br>
91
98
New important flag here is.
92
99
-`itemStyle` - Points to a style of menu item of Navigation drawer. <br>
93
-
There are currently 2 menu styles are defined as below
94
-
- `default_style`: This flag sets default design style to menu item of Navigation drawer as you can see below.<br>
0 commit comments