setTitleText

@CanIgnoreReturnValue
open 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.


@CanIgnoreReturnValue
open fun setTitleText(@Nullable 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.