Why set the display form in the background layout?

Why does setting the background of the layout with the ability to draw a figure cause a warning on Android Studio 1.4, which indicates that the background cannot be set to RelativeLayout?

Android Studio warning about invalid background:

enter image description here

Hand-drawn is shapeused as background:

enter image description here

+4
source share
1 answer

Nothing to worry about. This is a problem with android studio, it usually shows a preview icon with the ability to draw, but in this case it cannot show a preview of the extracted XML and shows that there is an “error”

+1

Source: https://habr.com/ru/post/1612225/


All Articles