I am a beginner in Android and building a linear layout and getting an error in the layout XML file like this,
linear layout
Error
Placi
The issue is mainly because in the parent LinearLayout, you have provide layout_width and layout_height as wrap_content. It should be match_parent.
layout_width
layout_height
wrap_content
match_parent