Where to continue coding after created intent?
<p>I use an intent to call a new class and show a new layout with some buttons on.</p>

<pre><code>Intent intent = new Intent(MainActivity.this, Game.class);
                setContentView(R.layout.game);
</code></pre>

<p>After this i want to show/hide some buttons on the second (game) layout. </p>

<p>i try to find the button:</p>

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

<p>The thing is when i debug it never goes into the new Game-class and in my Main it can´t find my buttons because they are on the other layout.. how can i solve this?</p>
