Lazy Column with Scrollable Gradient background in Jetpack Compose
I’m working on a Jetpack Compose app having a Scaffold
layout. My layout includes a title, a tab bar, and a LazyColumn
. I want to create a gradient background that scrolls with the LazyColumn
content and also covers some fixed elements like the title and tabs at the top, as well as a few items from the top of the list as shown in the Image.
How to set contentPadding like LazyColumn for Column with verticalScroll in Jetpack Compose?
LazyColumn( contentPadding = PaddingValues(bottom = 20.dp,top = 12.dp), ){ //items// } How to achieve the same behaviour using Column and verticalScroll Modifier? Column( modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState()) ) android kotlin android-jetpack-compose android-jetpack lazycolumn