Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you are looking for something like image below, you can use (your modified) layout. <br><br> <img src="https://i.stack.imgur.com/gdfW3.png" alt="enter image description here"></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" &gt; &lt;LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1.0" android:orientation="vertical" &gt; &lt;RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="2" android:gravity="center" &gt; &lt;TextView android:id="@+id/history1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:layout_marginBottom="98dp" android:text="This is where life histroy goes" /&gt; &lt;EditText android:id="@+id/playerLifeOne" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_marginTop="49dp" android:gravity="center" android:inputType="number" android:minWidth="120dp" android:text="20" android:textSize="40dp" /&gt; &lt;/RelativeLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/badd1" android:layout_width="78dp" android:layout_height="wrap_content" android:text="+1" /&gt; &lt;Button android:id="@+id/badd5" android:layout_width="78dp" android:layout_height="wrap_content" android:text="+5" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/bsub1" android:layout_width="78dp" android:layout_height="wrap_content" android:text="-1" /&gt; &lt;Button android:id="@+id/bsub5" android:layout_width="78dp" android:layout_height="wrap_content" android:text="-5" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="1dp" android:layout_height="match_parent" android:background="@android:color/black" /&gt; &lt;LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1.0" android:orientation="vertical" &gt; &lt;RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="2" android:gravity="top" &gt; &lt;EditText android:id="@+id/playerLifeTwo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_marginTop="49dp" android:gravity="center" android:inputType="number" android:minWidth="120dp" android:text="20" android:textSize="40dp" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;Spinner android:id="@+id/spinner" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:layout_width="wrap_content" android:layout_height="wrap_content"/&gt; &lt;/RelativeLayout&gt; &lt;LinearLayout android:layout_width="156dp" android:layout_height="wrap_content" android:layout_gravity="center" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/b2add1" android:layout_width="78dp" android:layout_height="wrap_content" android:text="+1" /&gt; &lt;Button android:id="@+id/b2add5" android:layout_width="78dp" android:layout_height="wrap_content" android:text="+5" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/b2sub1" android:layout_width="78dp" android:layout_height="wrap_content" android:text="-1" /&gt; &lt;Button android:id="@+id/b2sub5" android:layout_width="78dp" android:layout_height="wrap_content" android:text="-5" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&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.
 

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