android - Column with always visible scrollbar? - Stack Overflow

admin2025-04-19  0

How can I tell a column to make his scrollbar always visible? so the user can know instantly that he can scroll the content.

This is the normal code for adding a scrollbar, but I can't find anywhere how to make it always visible:

val scrollState = rememberScrollState() 
Column( modifier = Modifier.verticalScroll(scrollState)) {
    repeat(100) { Text(text = stringResource(R.string.help)) }
}
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745075357a283535.html

最新回复(0)