Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In your layout <code>layout_weight</code> have incorrect values. If one row should use 0.1 of the screen and second row should use 0.9 of the screen. Then you will set the <code>layout_weight</code> of the first row to 0.9 and the <code>layout_weight</code> of the second to 0.1. Here is layout with correct weights: </p> <pre><code> &lt;LinearLayout android:id="@+id/row1" style="@style/topborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.1" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field11" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" /&gt; &lt;TextView android:id="@+id/field12" style="@style/rightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center" android:text="Team 1" /&gt; &lt;TextView android:id="@+id/field13" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field14" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/row2" style="@style/bottomborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.5" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field21" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field22" style="@style/rightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center" android:text="21" android:textSize="50dp" /&gt; &lt;TextView android:id="@+id/field23" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field24" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/row3" style="@style/bottomborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.9" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field31" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field32" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field33" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/row4" style="@style/bottomborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.9" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field41" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field42" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field43" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/row5" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.5" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field51" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field52" style="@style/rightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field53" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center" android:text="10" android:textSize="50dp" /&gt; &lt;TextView android:id="@+id/field54" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/row6" style="@style/bottomborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.1" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/field61" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field62" style="@style/rightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;TextView android:id="@+id/field63" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.6" android:background="#000000" android:gravity="center" android:text="Team 2" /&gt; &lt;TextView android:id="@+id/field64" style="@style/leftrightborder" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="2.3" android:background="#000000" android:gravity="center_horizontal" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload