Android 4.0: canvas.setViewport error
<p>I'm getting an error in my code. 
the method setViewPort(int, int) cannot be defined for the type canvas. </p>

<p>I am trying to implement multi touch functionality on an ImageView, the intire class is far too long to put up here but if you require more information just comment. </p>

<pre><code>    @Override
        protected void onDraw(Canvas canvas) {
            if(layout) {
                if(!viewSet) {
//line that's causing issue                 
canvas.setViewport(displayWidth, displayHeight);
                    viewSet = true;
                }
</code></pre>

<p>can't figure out what the issue is, have all necessary imports etc. </p>

<p>Would it be the fact I'm using Android 4.0?</p>

<p>thanks. </p>

<p>Shaw</p>
