Rendering Problems Couldn't resolve resource @id/search_edit_frame
<blockquote>
  <p>Rendering Problems Couldn't resolve resource @id/search_edit_frame</p>
</blockquote>

<p>This is the rendering error I'm getting in my xml file. I think it has something to do with my <code>support.v7.SearchView</code> below is my xml:</p>

<pre><code> &lt;RelativeLayout
    android:id="@+id/layout_ricerca"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:background="@drawable/search_border_backgroud"
    android:layout_marginStart="10dp"
    android:layout_marginEnd="10dp"
    android:layout_marginTop="20dp"&gt;

    &lt;android.support.v7.widget.SearchView
        android:id="@+id/testo_ricerca"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:queryHint="@string/search_hint"
        android:textSize="25sp"
        android:layout_marginStart="5dp"
        android:iconifiedByDefault="false"/&gt;

    &lt;ImageButton
        android:id="@+id/tasto_ricerca"
        android:background="@color/trans"
        android:layout_marginTop="2dp"
        android:layout_width="45dp"
        android:layout_height="match_parent"
        android:layout_marginEnd="3dp"
        android:scaleType="centerInside"
        android:layout_alignParentEnd="true"
        android:src="@drawable/tasto_ricerca"/&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>When I change the <code>&lt;android.support.v7.widget.SearchView</code> to <code>&lt;SearchView</code> the error disappears, but that's not a good solution for me because I would have to change all my java code to work with the <code>SearchView</code> instead of the <code>android.support.v7.widget.SearchView</code>.</p>

<p>Does anyone know how to fix this problem ? why does it happen? I don't think there is anything wrong with my xml.</p>

<p><strong>Edit:</strong> </p>

<p>Added screenshot of the error</p>

<p><a href="https://i.stack.imgur.com/OSnjn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OSnjn.png" alt="screenshot"></a></p>