In an android application I wrap the contents of a fragment in a linearLayout.
I put everything necessary and with width match_parent
but when I execute it, it leaves me as a frame around the screen, which I do not want it to be.
the linear layout takes the following.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/fondo_pantalla"
android:orientation="vertical"
tools:context="...">
It also happens with the components that are within this linear layout. if I put it match_parent
does not quite reach the edge of this,
paddin does not have values and margin only where I need them.
Any ideas?