Pablo
10/15/2024, 5:37 PMDrawable
as a background of a modifier in compose? In java, it was done like this: layout.setBackground(bg.getDrawable());
andylamax
10/15/2024, 5:41 PMPablo
10/16/2024, 8:28 AMPablo
10/16/2024, 8:29 AMPablo
10/16/2024, 4:06 PMandylamax
10/16/2024, 10:04 PM@Composable
fun ComponentWithBackGround() {
Box(modifier = Modifier.fillMaxSize()) {
Image(..., modifier.fillMaxSize())
LazyColumn(modifier = Modifier.fillMaxSize()) {
// you code goes here
}
}
}
Pablo
10/17/2024, 5:54 AMPablo
10/17/2024, 5:55 AMPablo
10/17/2024, 5:55 AM