When I want to create TextView, ImageView and ... in my file xml, everything turns red and tag style appears instead of height and width the I have to copy and paste any features manually. The app will run although everything is red, like the attached photo.
I also have cleared the cache through File ->Invalidate caches
but the problem still exists.

I'm new to android and need some help.
[enter image description here](https://i.stack.imgur.com/50mOE.jpg)

[enter image description here](https://i.stack.imgur.com/Ja7nd.jpg)