Search code examples
androidandroid-support-libraryandroid-coordinatorlayoutandroid-design-library

@string/appbar_scrolling_view_behavior is marked as private in com.android.support:design


I have updated the support library to 28.0.0-alpha3, and lint gives me this warning @string/appbar_scrolling_view_behavior is marked as private in com.android.support:design while I am using this in layouts which have coordinator layout. What is the correct way to use this behaviour now?


Solution

  • It has been fixed but has not been released yet :

    https://github.com/material-components/material-components-android/commit/e1c8886c6c91fe277622a583cbba75bfc9c37f55

    UPDATE

    This has been fixed in version 28.0.0-rc01