Confily
Confily copied to clipboard
Support adaptive UI with Window Size Classes
Describe
- Use Material3 artifact to get Window Size Classes and check the current size of the device
- Keep the same navigation across all window sizes to avoid any state issue
- Adapt the UI for each window size
Resources
- Support different screen sizes: https://developer.android.com/guide/topics/large-screens/support-different-screen-sizes
- Material3 windowsizeclass: https://developer.android.com/reference/kotlin/androidx/compose/material3/windowsizeclass/package-summary