First introduced the custom attribute domain name space
Then use custom attributes
We found UILinearLayout use custom attributes no problem, but ImageView use custom properties on the error.
Here is a false positive error AndroidStudio3.6, we can ignore it, or you do not want to see this error message, you can add the following code