android / android/socialite

Feature request: Use different navigation UI components based on window size

Open
#3 1 comment 0 reactions 1 assignee Claimed by @romanofranz View on GitHub
Dominant language
Kotlin
Stars
721
Forks
162
PR merge metrics
No merged PRs in 30d

Description

Right now, bottom nav is used regardless of window size, but it doesn't work well on large screens:
![Screenshot_20231215_104527](https://github.com/android/socialite/assets/1033551/42321474-ee69-439c-ba3a-3aeac2e80b5f)

This could use [NavigationSuiteScaffold](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/navigation/suite/package-summary#NavigationSuiteScaffold(kotlin.Function1,androidx.compose.ui.Modifier,androidx.compose.material3.adaptive.navigation.suite.NavigationSuiteType,androidx.compose.material3.adaptive.navigation.suite.NavigationSuiteColors,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,kotlin.Function0)) if you're okay with an alpha component or swap out the components based on WindowSizeClass (see [documentation](https://developer.android.com/guide/topics/large-screens/navigation-for-responsive-uis#compose)).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.