android: why can't I reference my layout (perhaps after moving it)?
<p>With some stackoverflow trolling I've been able to get a an android popup view working, but I tried to move the layout and it doesn't work now. I have a popup view in res/layout-keysexposed-qwerty/login_popup2.xml.</p>

<p>Its layout contains the following:</p>

<pre><code>android:id="@+id/login_popup2"
</code></pre>

<p>Here's where I try to reference it inside of an Activity:</p>

<pre><code>LayoutInflater inflater = (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
android.view.View popview = inflater.inflate(R.layout.login_popup2, null, false);
</code></pre>

<p>And that fails with the following exception:</p>

<pre><code>FATAL EXCEPTION: main
android.content.res.Resources$NotFoundException: Resource ID #0x7f030001
at android.content.res.Resources.getValue(Resources.java:892)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:1869)
at android.content.res.Resources.getLayout(Resources.java:731)
at android.view.LayoutInflater.inflate(LayoutInflater.java:318)
</code></pre>

<p>How do I reference a layout in this manner? I thought it was working when I had it in <code>res/layout-keysexposed/</code> but I moved it, did a clean project in Eclipse, and even stopped and started my Android </p>

<p>(edit1)</p>

<p>Here's the class definition from R.java:</p>

<pre><code>public static final class layout {
    public static final int activity_view=0x7f030000;
    public static final int login_popup2=0x7f030001;
}
</code></pre>
