I'm using a LinearLayout
that doesn't show every view.
This is the xml-code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="160dp"
android:layout_height="wrap_content"
android:orientation="horizontal"
tools:context="de.schumann_connection.yahtzee.DescriptionColumnFragment">
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#FF000000" />
<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="wrap_content"
android:orientation="vertical"
tools:context="de.schumann_connection.yahtzee.DescriptionColumnFragment">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#FF000000" />
<TextView
android:layout_width="wrap_content"
android:layout_height="43dp"
android:text=""/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#FF000000" />
</LinearLayout>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#FF000000" />
</LinearLayout>
There are much more controls contained but this is enough to demonstrate the problem.
This should draw a black rectangle. But the right vertical line is missing. Why?