When bottom navigation bars with multiple items can't scale text properly for accessibility, an iOS-inspired large content viewer offers an alternative. This implementation uses Jetpack Compose's InteractionSource to detect long presses on navigation items, displaying a centered preview with scalable text when font sizes exceed

7m read time From proandroiddev.com
Post cover image
Table of contents
Large Content Viewer on iOSAccessibility ConsiderationsBuilding Navigation Bar Item PreviewGet Eevis Panula ’s stories in your inboxLinks in the Blog Post

Sort: