Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>the trick, use a relative layout ... here's an example (off the top of me head - not checked and missing height fields and vertical align settings to make it easy to see the important stuff).</p> <pre><code>&lt;relativelayout android:width="fillParent"&gt; &lt;textview android:id="@+id/left" android:text="left" android:width="wrap_content" android:layout_alignParentleft="true" /&gt; &lt;textview android:id="@+id/right" android:text="right" android:width="wrap_content" android:layout_alignParentright="true" /&gt; &lt;textview android:id="@+id/middle" android:text="middle" android:width="wrap_content" android:layout_alignleft="@id/right" android:layout_alignright="@id/left" /&gt; &lt;/relativelayout&gt; </code></pre> <p>edit: here it is with the typos cleaned (and it is tested as working)</p> <pre><code>&lt;RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;TextView android:id="@+id/left" android:text="left" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" /&gt; &lt;TextView android:id="@+id/right" android:text="right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" /&gt; &lt;TextView android:id="@+id/middle" android:text="middle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/right" android:layout_toRightOf="@id/left" /&gt; &lt;/RelativeLayout&gt; </code></pre>
    singulars
    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.
 

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