Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sorry, I didn't notice by the time of my first answer that you create ids in your references many times. You shouldn't do that :). Remove all <code>"+"</code> signs in all references like <code>layout_toLeftOf</code>, <code>layout_alignRight</code>, <code>layout_below</code> and so on. This will look that way:</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" android:layout_marginLeft="10dp" &gt; &lt;CheckBox android:id="@+id/checkBox" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:focusable="false" /&gt; &lt;ImageView android:id="@+id/imgStarred" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignRight="@id/checkBox" android:layout_below="@id/checkBox" android:layout_marginRight="4dp" android:src="@drawable/ic_star_gray"/&gt; &lt;CheckedTextView android:id="@+id/lblTitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignTop="@id/checkBox" android:layout_marginLeft="10dp" android:layout_marginTop="8dp" android:layout_toLeftOf="@id/imgPriority" android:layout_toRightOf="@id/checkBox" android:text="CheckedTextView" /&gt; &lt;TextView android:id="@+id/lblDescription" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignRight="@id/lblTitle" android:layout_below="@id/lblTitle" android:layout_marginLeft="10dp" android:layout_toRightOf="@id/checkBox" android:text="Small Text" android:textAppearance="?android:attr/textAppearanceSmall" /&gt; &lt;ImageView android:id="@+id/imgPriority" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:layout_marginRight="8dp" android:layout_marginTop="8dp" android:src="@drawable/ic_priority_5" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>When you write, for example, <code>android:layout_toLeftOf="@+id/imgPriority"</code> with plus sign <strong>you do</strong> create another imgPriority id, and <strong>you do not</strong> referene already present id of your ImageView.</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