setTitleText

fun setTitleText(@StringRes() titleTextResId: Int): MaterialDatePicker.Builder<S>

Sets the text used to guide the user at the top of the picker. Defaults to a standard title based upon the type of selection.

fun setTitleText(charSequence: CharSequence?): MaterialDatePicker.Builder<S>

Sets the text used to guide the user at the top of the picker. Setting to null will use a default title based upon the type of selection.