Created
February 11, 2025 18:08
-
-
Save vitoksmile/34ce108ac83fe35d46d55bc868843f90 to your computer and use it in GitHub Desktop.
ComposeHints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val hintController = rememberHintController() | |
IconButton( | |
modifier = Modifier | |
.hintAnchor(topAppBarActionHintAnchor, CircleShape), | |
onClick = { | |
hintController.show(topAppBarActionHintAnchor) | |
}, | |
) | |
BottomNavigationItem( | |
modifier = Modifier | |
.hintAnchor( | |
bottomNavigationHintAnchor, | |
shape = RoundedCornerShape(50f), | |
), | |
onClick = { | |
hintController.show(bottomNavigationHintAnchor) | |
}, | |
) | |
Button( | |
modifier = Modifier | |
.hintAnchor(actionHintAnchor, RoundedCornerShape(16.dp)) | |
.padding(4.dp), | |
onClick = { | |
hintController.show(actionHintAnchor) | |
}, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My friend, my warm greetings to you
I will be happy if you give my repositories a star
Thank You