postInvalidate() is working slow?
<p>I am using LinearLayout implemented in order to paint polygon on it. 
But my implemented dispatchDraw(Canvas canvas) method is working very slow.</p>

<p>Approximately, one draw cycle finish in 535ms (milliseconds).</p>

<p>To call myLinearLayout.postInvalidate() from non UI thread, using following code :</p>

<pre><code>myActivity.runOnUiThread(new Runnable() {
    public void run() {
             myLinearLayout.postInvalidate();
        }
});
</code></pre>

<p>Is there a way to increase drawing speed ?</p>

<p>Please suggest.</p>

<p>Thanks in advance.</p>
