Why not change the color in main Activty?

Good!
Can't understand why not changing the background color in activiti? This is the main activity, in other activiti changes without problems.
2c1571af2801458d84001efc5a28cfd3.png
July 2nd 19 at 13:58
1 answer
July 2nd 19 at 14:00
Solution
make the attributes layout_width and layout_hieght equal math_parent. Due to the fact that you have attributes wrap content your RelativeLayout does not occupy all available space. Insert into RelativeLayout or any child element, which these options will be equal math_parent

<relativelayout android:layout_width="parent" android:layout_height="parent"></relativelayout>
thanks, not spotted=) - Dusty_Grady commented on July 2nd 19 at 14:03

Find more questions by tags AndroidJavaXML