setUseBackButtonForCloseWhenHorizontal

open fun setUseBackButtonForCloseWhenHorizontal(useBackButtonForCloseWhenHorizontal: Boolean)

Sets whether to use back button for closing the toolbar when the toolbar is placed horizontally. Defaults to true. If false the 'X' button will be used and it will be placed on the end of the toolbar.

Parameters

useBackButtonForCloseWhenHorizontal

true to use back button, false to use 'X' button