Configure specific screen size. Default size is the same as @Preview(showSystemUi = true)
statusBarSize
Specify custom StatusBar size. Default value is 24.dp
navigationType
Choose between navigation types: NavigationType.ThreeButtons or NavigationType.Gesture
StatusBar / NavigationBar
Property
Description
color
Control the background color
darkIcons
Control whether icons are light of dark
overlaysContent
Draw content behind the bar, allowing for edge-to-edge content. There's a build-in support for Accompanist-inset.
Time
Property
Description
hours and minutes
Customize time displayed on StatusBar
... other
Property
Description
backgroundColor
Specify background color for entire Preview
Usage
Simply wrap your screen Composable with AdvancedPreview. Configuration should be done in AdvancedPreview instead of passing arguments to @Preview annotation.
An application that i developed with a aim of learning Jetpack compose and many other jetpack libraries, The application make use of jikan Api which displays a list of animations,there more details and even trailers of the animations.
Learn Jetpack Compose for Android by Examples. Learn how to use Jetpack Compose for Android App Development. Android’s modern toolkit for building native UI.