Custom layouts¶
cascade
was originally inspired by Google Drive's that uses a variety of complex controls. For apps that want to create something similar, a batteries-included CascadePopupWindow is provided for use with custom layouts.
val customMenuView: View = …
val popup = CascadePopupWindow(context)
popup.contentView.addView(customMenuView) // Also see contentView.goBack().
popup.show(anchor)
I really like Google Drive's popup menu that smoothly animates between sub-menus. Is there any existing library that recreates this? pic.twitter.com/bnalL56pcR
— Saket Narayan (@saketme) October 5, 2020