Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here you go :</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" &gt; &lt;View android:id="@+id/view1" android:layout_width="30dp" android:layout_height="30dp" android:layout_centerHorizontal="true" android:layout_centerVertical="true" /&gt; &lt;ImageView android:id="@+id/imageView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/view1" android:layout_centerHorizontal="true" android:src="@drawable/ic_launcher" /&gt; &lt;ImageView android:id="@+id/imageView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/view1" android:layout_centerHorizontal="true" android:src="@drawable/ic_launcher" /&gt; &lt;ImageView android:id="@+id/imageView3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toRightOf="@+id/view1" android:src="@drawable/ic_launcher" /&gt; &lt;ImageView android:id="@+id/imageView4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/view1" android:src="@drawable/ic_launcher" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Of course, you can replace ImageView with anything else like an ImageButton. Be sure, if you change the name of the first view, tu update the name in the 4 ImageView. And be aware that the corners of each image are overlapping each other.</p>
    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. 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