Skip to content

Instantly share code, notes, and snippets.

@GeorgCantor
Created March 13, 2021 11:27
Show Gist options
  • Save GeorgCantor/8f522906d342ebcd47aaf6ce936baa87 to your computer and use it in GitHub Desktop.
Save GeorgCantor/8f522906d342ebcd47aaf6ce936baa87 to your computer and use it in GitHub Desktop.
view_terms.setOnClickListener {
val dialogView = requireContext().showOneButtonDialog(
getString(R.string.connection_terms),
getString(R.string.terms_description),
true
) { view, rootLayout ->
beginDelayedTransition(rootLayout, view.getTransform(view_terms))
}
beginDelayedTransition(root_layout, it.getTransform(dialogView))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment