title: Custom view made of multiple views
body: <p>I have a set of views I want to always use together.  An example of this may be something like:</p>
  
  <pre><code>&lt;LinearLayout&gt;
      &lt;TextView /&gt;
      &lt;EditView /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>The text view is a prompt, and the edit view is the answer.  I would like to give this combination a name, and be able to use that name to pop it into xml.  I'd love for it to be a custom view so I can put it nicely in a class and create various utility functions for it.  Is there any way I can do that?  I know I could subclass LinearLayout and create the children dynamically in the java code, but that loses me the ability to easily make changes via xml.  Is there a better route?</p>
  
  <p>And yes, I also have places I want to do this which are more involved than just prompts.</p>