title: How can I anchor my DynamicLayout to the bottom of my canvas?
body: <p>I am working on a custom <code>View</code> that includes frequently updated text that I want to anchor to the bottom of the canvas.</p>
  
  <p>The text length changes as well, and I'd like it to wrap, moving up the screen as more lines are needed.  (<code>DynamicLayout</code> thus seems like a solid choice for automating this)</p>
  
  <p>However, I don't see any options in the docs about specifying where on my canvas the text is drawn or in which direction it should "grow".</p>
  
  <p>Here is my initialization:</p>
  
  <pre><code>TextPaint subtleTextPaint = new TextPaint();
  DynamicLayout dl = new DynamicLayout(text,subtleTextPaint,getWidth()
      ,Layout.Alignment.ALIGN_CENTER,1,0,true);
  </code></pre>
  
  <p>And in <code>onDraw()</code>, I simply pass the canvas to the <code>DynamicLayout</code> object like so:</p>
  
  <pre><code>dl.draw(c);
  </code></pre>
  
  <p>Right now, the text is drawn at the very top of the screen and word-wraps downwards as the text gets longer.</p>