Skip to content

Instantly share code, notes, and snippets.

@mazzouzi
Last active September 26, 2022 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mazzouzi/704690b0237e8f08b8b22b5971908e5b to your computer and use it in GitHub Desktop.
Save mazzouzi/704690b0237e8f08b8b22b5971908e5b to your computer and use it in GitHub Desktop.
Extra padding cancellation
val titleExtraStartPadding = titleWidthPx.toDp() * (1 - scaleXY.value) / 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment