Why is the last case of my switch statement getting hit?
<p>The last case of my switch statement in my Java app is always getting hit. How can I make this work properly?</p>

<pre><code>public void onClick(View v) {       
    Random r = new Random();
    int x=r.nextInt(4-1) + 1;
    switch (x)
    {
    case 1:
        setContentView(R.layout.image1);
    case 2:
        setContentView(R.layout.image2);
    case 3:
        setContentView(R.layout.image3);
    case 4:
        setContentView(R.layout.image4);
</code></pre>
