Android Button Reference?
<p>So I'm having some issues with a method I'm going to be using to change a button's color based on a number received from the game engine (so if it returned 0 it would be red, 1 would change it to blue, 2 would change it to yellow) but I keep getting errors when trying to reference the button.</p>

<p>I'm referencing the buttons in this way:</p>

<pre><code>Button x0y0 = (Button) findViewById(R.id.x0y0);
</code></pre>

<p>But I am getting an error, eclipse does not recognize </p>

<p>Any help on how I can get buttons into this program and have them change color based on what the engine returns to it?</p>
