changing views in android on a touch event
<p>I am trying to create my first game for android. I currently have a title page with some graphics and a 'start' button. </p>

<p>What I am trying to do is load the game once the start button is pressed.</p>

<p>Here is my activity code:</p>

<pre><code> public class TitlePage extends Activity {

    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                            WindowManager.LayoutParams.FLAG_FULLSCREEN);

    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
    setContentView(new TitlePageView(this));
    }
</code></pre>

<p>The class <code>TitlePageView</code> deals with loading &amp; placing the images on the canvas, checks if the button is pressed and draws some balls floating around the screen. </p>

<p>Once the button is pressed, I don't really need anything at all from the <code>TitlePageView</code> class. Is there a way of deleting the current view, and calling <code>setContentView()</code> with a different view?</p>
