I have a problem with my linear layouts. There is two linear layout vertical in a horizontal parents, the first one dont take the same height of the second.
There is my LinearLayout :
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@android:color/darker_gray">
<TextView
android:id="@+id/nomPers"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nom User"
android:textColor="@android:color/black"
android:textAppearance="?android:attr/textAppearanceMedium"/>
<TextView
android:id="@+id/dateVisite"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lines="1"
android:ellipsize="end"
android:text="Date"
android:textColor="@android:color/black"
android:textAppearance="?android:attr/textAppearanceMedium"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Type de visite"
android:id="@+id/typeVisteCli"
android:textColor="@android:color/black"
android:layout_marginLeft="5dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:id="@+id/tv_list_obs_visite_cli"
android:text="obs"
android:textColor="@android:color/black"
android:layout_marginLeft="5dp"/>
</LinearLayout>
</LinearLayout>
And a screen of what i have :
You can see that the gray dont fill the entire linearLayout. Thx.
EDIT
I'm really sorry i put the wrong LinearLayout ...