Scaling a Dialog Navigation with AppCompat

Do you know how to implement a scaled transition for a simple dialog in L (Android 5.0) with ActivityOptionsCompat?

I have an action using a button (mButton). When the button is clicked (onClick) then a dialog (mDialog) (mDialog.show) will be created and launched.

I am trying to figure out how I can use ActivityOptionsCompat to create transitions that look like the dialog would come from the position of the button.

+3


source to share





All Articles