Repository navigation
Releases: lighttigerXIV/layout-scaffold
Releases · lighttigerXIV/layout-scaffold
Release list
2.1.1
2.1.0
Update inPortrait and inLandscape functions
2.0.2
- Migrated to Gradle DSL
- Bumped to Kotlin v2
- Updated other dependencies
2.0.1
🩹 Fixes
- Fixed content not showing in portrait in big screens
2.0.0
🔨 Added
- Added
isPhone()function - Added
isFoldable()function
✨ Enhancements
- Merged portrait and landscape navigation bar so now it's the same parameter:
LayoutScaffold(
navigationBar = { isTablet, inLandscape ->
// Your navbar content
}
){isTablet, inLandscape ->
// Your app content
}- Add comment documentation
🖊️ TLDR
The library now supports official screen sizes, added 2 helpful functions and added a small tutorial on how to check if foldables are open/half-open/closed.