In NestedScrollView: layout_behavior is trying to give error of resource linking failed
nachiket-gohil opened this issue · 0 comments
nachiket-gohil commented
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:
- Go to 'material-components-android-codelabs-101-starter\java\shrine\app\src\main\res\layout\shr_product_grid_fragment.xml'
- Click on '...'
- Scroll down to 'androidx.core.widget.NestedScrollView'
- 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):
- Level (MDC-102)
- Language (Java)
- Link to the codelab: "https://google.dev/codelabs/mdc-102-java?return=https%3A%2F%2Fgoogle.dev%2Fpathways%2Fbeta%2Fmdc-java%3Fhl%3Den%23codelab-https%3A%2F%2Fgoogle.dev%2Fcodelabs%2Fmdc-102-java&hl=en#4
"
Additional context
Add any other context about the problem here.