简体   繁体   中英

No resource identifier found

I am trying to create an app with a collapsible toolbar but getting an error "No resource identifier found for attribute 'layout_collapseMode' in package android"

i have tried adding different libraries in gradle but error still persists

this is the errors and the highlighted xml code for the error

Change the prefix to app :layout_collapseMode="parallax" from android :layout_collapseMode="parallax" on line 36.

Also, this line should belong in the RelativeLayout(parent of the ImageView), which is a direct child of the CollapsingToolbarLayout if you intend to achieve parallax collapsing of the layout.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM