Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You only need to play now with paddings and margins.</p> <p><img src="https://i.stack.imgur.com/kO53x.png" alt="Result"></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;LinearLayout android:id="@+id/gray_layout" android:layout_width="40dp" android:layout_height="match_parent" android:orientation="vertical" android:background="#888888" android:layout_alignParentLeft="true" android:gravity="center_vertical"&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="AUG"/&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="18"/&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="2011"/&gt; &lt;/LinearLayout&gt; &lt;View android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="2dp" android:background="#000088" android:layout_toRightOf="@id/gray_layout" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="30dp"/&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignLeft="@id/divider" android:text="Title" android:layout_marginBottom="5dp" android:layout_alignBottom="@id/divider"/&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignRight="@id/divider" android:text="18. aug 23:49" android:layout_marginBottom="5dp" android:layout_alignBottom="@id/divider"/&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignLeft="@id/divider" android:text="Short msg" android:layout_marginTop="10dp" android:layout_alignTop="@id/divider"/&gt; &lt;ImageView android:id="@+id/info_button" android:layout_width="40dp" android:layout_height="40dp" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" android:background="#ff0000"/&gt; &lt;ImageView android:id="@+id/arrow_button" android:layout_width="40dp" android:layout_height="40dp" android:layout_above="@id/info_button" android:layout_toLeftOf="@id/info_button" android:background="#00ff00"/&gt; &lt;TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@id/arrow_button" android:layout_toLeftOf="@id/info_button" android:layout_alignLeft="@id/arrow_button" android:gravity="center_horizontal" android:text="30" /&gt; &lt;/RelativeLayout&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.
    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