Hello. I am composing the app using only composable in my application.
Currently, there is one stumbling block, and when composing a screen without scrolling in a circular wear device, there is a phenomenon that items overflow start and end. If composable is not used, it would have been solved by using boxInset or circular activity, but how can do this with composable?
If you look at the player screen of YouTube Music, you can see that texts are properly applied to the start and end of screens. Does wear composable have this function?
Currently, I set a guideline using the length of the inscribed rectangle, and apply the item not to exceed the guideline. Please let me know if there is a better way.
BoxWithConstraints() {
val absoluteValue = (maxWidth - (maxWidth / sqrt(2f)))/2
ConstraintLayout(modifier = Modifier.fillMaxSize()) {
val absoluteStartGuideline = createGuidelineFromAbsoluteLeft(absoluteValue)