Jose Enriquez
Jose Enriquez

Reputation: 3

Layout problems?

So the error occurred when I changed all the imageView IDs. I am absolutely lost on how to solve this error. Should I just start over?? The errors are

-Error:(83) No resource identifier found for attribute 'layout_scaleType' in package 'android'

-Error:(126) No resource identifier found for attribute 'layout_scalelType' in package 'android'

-Error:(128, 39) String types not allowed (at 'layout_width' with value 'match_constraint').

-Error:(129, 40) String types not allowed (at 'layout_height' with value 'match_constraint').

I appreciate any help

Upvotes: 0

Views: 151

Answers (1)

Rahul Sahni
Rahul Sahni

Reputation: 485

-Error:(83) No resource identifier found for attribute 'layout_scaleType' in package 'android'

-Error:(126) No resource identifier found for attribute 'layout_scalelType' in >package 'android'

-Error:(128, 39) String types not allowed (at 'layout_width' with value >'match_constraint').

-Error:(129, 40) String types not allowed (at 'layout_height' with value 'match_constraint').

Theses are all typos, replace layout_scaleType and layout_scalelType with scaleType and match_constraint with 0dp

To make a view match_constraint in constraint layout we use 0dp

Upvotes: 1

Related Questions