title: Android - View too large to fit into drawing cache
body: <p>I have a class that extends custom view, it has to draw a line and some text like a timeline. <br>It can be pretty long so I put the view into a scrollview.
  <br>It works fine but if the line is too long the view disappears and become invisible (the ScrollView scrolls) and Logcat shows me this message:</p>
  
  <pre><code>07-02 15:56:05.209: W/View(7364): View too large to fit into drawing cache, needs 4392400 bytes, only 4096000 available
  </code></pre>
  
  <p>How can i solve this problem?<br>
  Thanks in advance.</p>