material-components/material-components-android-codelabs

In NestedScrollView: layout_behavior is trying to give error of resource linking failed

nachiket-gohil opened this issue · 0 comments

Describe the bug
In shr_product_grid_fragment.xml, inside androidx.core.widget.NestedScrollView,
app:layout_behavior="@string/appbar_scrolling_view_behavior".
this attribute is the reason of error: resource linking failed because string is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'material-components-android-codelabs-101-starter\java\shrine\app\src\main\res\layout\shr_product_grid_fragment.xml'
  2. Click on '...'
  3. Scroll down to 'androidx.core.widget.NestedScrollView'
  4. See error

Expected behavior
In my case, by removing layout_behaviour attribute, app works fine

Screenshots
If applicable, add screenshots to help explain your problem.

Codelab details (please complete the following information about the codelab):

"

Additional context
Add any other context about the problem here.