Thread
#compose
    a

    alorma

    1 year ago
    One question... setting a navigationIcon` on
    TopBar
    shows the arrow in a really strange position...is it intended?
    Scaffold(
            topBar = {
                TopAppBar(
                    navigationIcon = { Icon(
                        imageVector = Icons.Default.ArrowBack,
                        contentDescription = "back"
                    ) },
                    title = { Text(text = "Puppy ${puppyId.value}") },
                    backgroundColor = MaterialTheme.colors.primary,
                )
            }) {
    
        }
    s

    Se7eN

    1 year ago
    You're supposed to use
    IconButton
    for the right position
    Or add some padding yourself
    a

    alorma

    1 year ago
    Thks,
    IconButton
    works perfect