Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If i understand you correctly - this layout can solve your problem. GridView can't strech column hight, so you can use LinearLayout. I make this layout for you, maybye it needs some padding adjustments</p> <p><img src="https://i.stack.imgur.com/B0Lzo.png" alt="horisontal"> <img src="https://i.stack.imgur.com/Y2bC9.png" alt="vertial"></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout android:id="@+id/LinearLayout1" android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;TextView style="@android:style/TextAppearance.Large" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:padding="8dp" android:text="Which means: lacking in originality as to be obvious and boring." /&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_weight="1" android:gravity="center_vertical" android:layout_height="wrap_content"&gt; &lt;TextView style="@style/AnswerLetter" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" android:text="A." /&gt; &lt;TextView style="@style/AnswerChoice" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical" android:text="ascetic" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:gravity="center_vertical" android:layout_weight="1" android:layout_height="wrap_content"&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" style="@style/AnswerLetter" android:text="B." /&gt; &lt;TextView style="@style/AnswerChoice" android:layout_width="match_parent" android:gravity="center_vertical" android:layout_height="match_parent" android:text="banal" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:gravity="center_vertical" android:layout_weight="1" android:layout_height="wrap_content"&gt; &lt;TextView style="@style/AnswerLetter" android:layout_width="wrap_content" android:gravity="center_vertical" android:layout_height="match_parent" android:text="C." /&gt; &lt;TextView style="@style/AnswerChoice" android:layout_width="match_parent" android:gravity="center_vertical" android:layout_height="match_parent" android:text="contraption" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:gravity="center_vertical" android:layout_weight="1" android:layout_height="wrap_content"&gt; &lt;TextView style="@style/AnswerLetter" android:layout_width="wrap_content" android:gravity="center_vertical" android:layout_height="match_parent" android:text="D." /&gt; &lt;TextView style="@style/AnswerChoice" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical" android:text="dominion" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:gravity="center_vertical" android:layout_weight="1" android:layout_height="wrap_content"&gt; &lt;TextView style="@style/AnswerLetter" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" android:text="E." /&gt; &lt;TextView style="@style/AnswerChoice" android:layout_width="match_parent" android:gravity="center_vertical" android:layout_height="match_parent" android:text="enervation" /&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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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