Thread
#compose
    wisdom

    wisdom

    1 year ago
    Hello devs, please how can i achieve the image in the TopBar and also not showing the topbar divider line?
    o

    Olivier Patry

    1 year ago
    I guess something like that should do the work
    TopAppBar(
            navigationIcon = {
                IconButton(onClick = {}) {
                    Icon(xx, xxx)
                }
            },
            title = {},
            backgroundColor = MaterialTheme.colors.surface,
            elevation = 0.dp,
            actions = {
                IconButton(onClick = onProfileClick) {
                    CoilImage(
                        data = profilePictureUrl,
                        profileName,
                        Modifier
                            .size(48.dp)
                            .padding(8.dp)
                            .fillMaxHeight(),
                        requestBuilder = { transformations(CircleCropTransformation()) },
                        fadeIn = true
                    )
                }
            }
        )
    wisdom

    wisdom

    1 year ago
    I will try it, Thanks
    it worked, thanks man 👍