Skip to content

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)