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
# Navigation Suite Scaffold with icons vertical alignment
2
+
3
+
This sample showcases how to leverage the new version of the `NavigationSuiteScaffold` to align the
4
+
icons vertically to the top, center or bottom of the `NavRail`.
5
+
6
+
The core changes to an existing codebase are:
7
+
- Use the `navigationItems` parameter to provide the entries, together with the constructor `NavigationSuiteItem` rather than the `item()` helper function
8
+
- Pass the `Arrangement.Vertical` value to the `navigationItemVerticalArrangement` parameter in the `NavigationSuiteScaffold` declaration.
9
+
10
+
## Screenshot
11
+

12
+
13
+
### License
14
+
15
+
```
16
+
Copyright 2025 The Android Open Source Project
17
+
18
+
Licensed under the Apache License, Version 2.0 (the "License");
19
+
you may not use this file except in compliance with the License.
20
+
You may obtain a copy of the License at
21
+
22
+
https://www.apache.org/licenses/LICENSE-2.0
23
+
24
+
Unless required by applicable law or agreed to in writing, software
25
+
distributed under the License is distributed on an "AS IS" BASIS,
26
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+
See the License for the specific language governing permissions and
0 commit comments