View.setBackground() setting background of ImageButton?
<p>I have an ImageButton:</p>

<pre><code>&lt;ImageButton 
android:id="@+id/nextPageB"
android:layout_width="50dp"
android:layout_width="50dp"
android:layout_alignParentBottom="True"
android:contentDescription="@string/nextPage"
android:onClick="NextPage"
android:src="@drawable/ic_launcher"
/&gt;
</code></pre>

<p>This is part of a seperate activity that is started from my main activity:</p>

<pre><code>Intent intent = new Intent(this, BookRead.class);
startActivity(intent);
</code></pre>

<p>Once in the new activity I call the NextPage method upon ImageButton click:</p>

<pre><code>public void NextPage(View view)
{
    view.setBackgroud(res.getDrawable(R.Drawable.MyNewImage));
}
</code></pre>

<p>'res' is defined in my new activity in the onCreate method:</p>

<pre><code>res = this.getResources();
</code></pre>

<p>For some reason when I click my ImageButton it changes the background on the ImageButton itself instead of the activity layout.</p>
