Just wondering how I can add a ScrollView to this ...
# compose
n
Just wondering how I can add a ScrollView to this composable function since in landscape mode, all the views are not visible
Copy code
@Composable
fun MaterialCard() {

    val image = +imageResource(R.drawable.photographer)
    Card(shape = RoundedCornerShape(size = 8.dp)) {
    Column(modifier = Spacing(16.dp)) {
        SimpleImage(image = image)
        Text("A day in Shark Fin Cove",style = (+themeTextStyle { h6 }).withOpacity(.6f))
        Text("Davenport, California",style = (+themeTextStyle { body2 }).withOpacity(.87f))
        Text("December, 2018",style = (+themeTextStyle { body2 }).withOpacity(0.6f))
        
        Row() {
            Button(text = "Got it",style = ContainedButtonStyle(rippleColor = Color.Green))
            Button(text = "Cancel",style = TextButtonStyle())
            
        }
        
        
    }
    }
}
l
VerticalScroller
n
Oh thank you. I was just watching the AndroidDev summit talk by Romain Guy and others and saw it
a
The bug where
VerticalScroller
always centers its content if the content is smaller than the scrolling parent has already been fixed upstream 🙂
l
@Adam Powell is this fix bundled with
dev02
or do we need to use
repo
?
a
You can aim your maven dependencies at a specific build on our build server and avoid repo but I don't have the incantation at hand at the moment
We're working out what we want the devNN release cadence to be. Some folks would really like to keep the samples and codelabs in sync which would be a lot of additional overhead that would slow down more frequent drops
👍 1