Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Do it like this:</p> <pre><code>&lt;RelativeLayout android:layout_height="wrap_content" android:layout_width="wrap_content"&gt; &lt;ImageView android:layout_height="76dp" android:src="@drawable/i1" android:id="@+id/imgview11" android:layout_width="88dp"/&gt; &lt;ImageView android:id="@+id/imgview12" android:src="@drawable/i2" android:layout_width="88dp" android:layout_height="76dp" android:layout_alignParentTop="true" android:layout_centerHorizontal="true"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview13" android:src="@drawable/i3" android:layout_width="88dp" android:layout_height="76dp" android:layout_alignParentTop="true" android:layout_alignParentRight="true"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview21" android:src="@drawable/i4" android:layout_width="88dp" android:layout_height="76dp" android:layout_below="@+id/imgview11" android:layout_alignRight="@+id/imgview11"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview22" android:src="@drawable/i5" android:layout_width="88dp" android:layout_height="76dp" android:layout_below="@+id/imgview12" android:layout_alignLeft="@+id/imgview12"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview23" android:src="@drawable/i6" android:layout_width="88dp" android:layout_height="76dp" android:layout_below="@+id/imgview12" android:layout_alignParentRight="true" android:layout_alignLeft="@+id/imgview13"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview31" android:src="@drawable/i7" android:layout_width="88dp" android:layout_height="76dp" android:layout_alignParentBottom="true" android:layout_toLeftOf="@+id/imgview22"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview32" android:src="@drawable/i8" android:layout_width="88dp" android:layout_height="76dp" android:layout_below="@+id/imgview21" android:layout_alignLeft="@+id/imgview12"&gt; &lt;/ImageView&gt; &lt;ImageView android:id="@+id/imgview33" android:src="@drawable/empty" android:layout_width="88dp" android:layout_height="76dp" android:layout_below="@+id/imgview22" android:layout_alignParentRight="true"&gt; &lt;/ImageView&gt; &lt;/RelativeLayout&gt; </code></pre> <p>I am using ImageView's here. You can change to Button instead of ImageView.</p>
    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. 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