yschimke
03/07/2024, 8:48 AMyschimke
03/07/2024, 8:52 AMyschimke
03/07/2024, 8:52 AMyschimke
03/07/2024, 8:53 AMyschimke
03/07/2024, 8:53 AMAppScaffold {
SwipeDismissableNavHost(navController = navController, startDestination = "menu") {
composable("menu") {
GreetingScreen("Android", onShowList = { navController.navigate("list") })
}
composable("list") {
ListScreen()
}
}
}
yschimke
03/07/2024, 8:53 AMyschimke
03/07/2024, 8:54 AM@Composable
fun ListScreen() {
val columnState = rememberResponsiveColumnState(...)
ScreenScaffold(scrollState = columnState) {
/*
* The Horologist [ScalingLazyColumn] takes care of the horizontal and vertical
* padding for the list, so there is no need to specify it, as in the [GreetingScreen]
* composable.
*/
ScalingLazyColumn(
columnState = columnState,
modifier = Modifier
.fillMaxSize()
) {
item {
ResponsiveListHeader(contentPadding = firstItemPadding()) {
Text(text = "Header")
}
}
item {
...
}
}
}
}
yschimke
03/07/2024, 8:55 AMyschimke
03/07/2024, 8:56 AMyschimke
03/07/2024, 8:57 AMyschimke
03/07/2024, 8:58 AMyschimke
03/07/2024, 8:59 AMbod
03/17/2024, 8:58 PMbod
03/17/2024, 9:01 PMyschimke
03/17/2024, 9:01 PMyschimke
03/17/2024, 9:02 PMyschimke
03/17/2024, 9:04 PMyschimke
03/17/2024, 9:08 PMyschimke
03/17/2024, 9:08 PMbod
03/17/2024, 9:35 PMTry zooming in to 1:1?That worked ✅
bod
03/17/2024, 9:35 PMbod
03/17/2024, 9:37 PMwear-os-samples
repo or somewhere else?yschimke
03/17/2024, 9:37 PMyschimke
03/17/2024, 9:38 PMyschimke
03/17/2024, 9:38 PMbod
03/17/2024, 9:44 PMyschimke
03/18/2024, 9:48 AMyschimke
03/18/2024, 9:48 AMyschimke
03/18/2024, 9:48 AMprivate val FLASH_COLOR = Color.White
stevebower
03/19/2024, 10:59 AM