I was looking at a tutorial for a side menu, and at the time of making the layout of "navigation_header" I see this rendering error. I'm following the tutorial to the letter and I do not know why it happened. I'm in version 2.1.2.
Here is the image of the error and the video link:
I followed the steps of the how to create it tutorial; that is, layout> New> Layout resource file , I named my layout and in Root element I put RelativeLayout , and in the tutorial it worked but not me.
In the properties I tried to modify them but in doing so, it is as if the property was deleted, but in text it appears like this, and that is the whole layout code :
PS: I already tried to change the API and the Android theme and it still gives me problems, some with fewer errors and others with more.