Best method to dynamically draw static image without pre-defined size
<p>I am writing an App that need to render an image if a user selects an option.  The image will read a data file and according to the contents of the data file render an appropriate amount of rectangles, lines and text (I'm visualizing data).  I read this site <a href="http://developer.android.com/guide/topics/graphics/2d-graphics.html" rel="nofollow">Drawables or Canavs</a> and if I understood it correctly it says I should use drawables.  But what I don't understand (haven't found where or missed it) is where I define the space to draw shapes in.  As I do not know the number of shapes and thus the size of the entire visualization until I read the data file, i do not know how large of a composite image (size required to render all of the shapes and lines) I need.  </p>

<p>So I have three questions.  </p>

<p>Should I use drawables to accomplish what I need to do?
Does the <code>mDrawable.setBounds</code> method define the 'size' of the visualization I am working in
Can I draw lines and insert text with drawables?</p>
