so, there setting collapseMode in CollapsingToolba...
# anko
f
so, there setting collapseMode in CollapsingToolbarLayout child is not possible at the moment.
Copy code
collapsingToolbarLayout {
                    id = TOOLBAR_LAYOUT_ID
                    fitsSystemWindows = true

                    contentScrim = ColorDrawable(colorAttr(R.attr.colorPrimary))

                    toolbar(ThemeOverlay_AppCompat_Dark_ActionBar) {
                        id = TOOLBAR_ID
                        popupTheme = ThemeOverlay_AppCompat_Light
                    }.lparams(width = matchParent, height = dimenAttr(R.attr.actionBarSize)){
                        collapseMode = COLLAPSE_MODE_PIN
                    }
                }