wear os timetext align to right default it is cent...
# compose-wear
j
wear os timetext align to right default it is center align how to fixed this issue please help me
k
Hey! I didn’t fully understand the question, but wanted to share our codelab that includes Scaffold with timetext example that could be relevant to your issue: https://developer.android.com/codelabs/compose-for-wear-os
s
Hi - please could you share a cut down sample of the code that is generating the screenshot? It looks like you are trying to left align 'Accounts' and right align the time text without using the TimeText component. The recommended UX pattern is to use the Wear Compose TimeText component - you could provide the 'Accounts' text as starting content in both Linear and Curved modes like this:
Copy code
TimeText(
        startLinearContent = {
            Text(
                text = "Accounts",
            )
        },
        startCurvedContent = {
            curvedText(
                text = "Accounts",
            )
        },
m
I would also add that it’s better not to mimic an Apple watch interface on the Wear OS - there are fundamental differences . Like a back button - on Wear OS we navigate back with a swipe, so you don’t need a back button. It’s also complicated to add this button on the circular screen because it’ll be obscuring the content.