Can I create a layout using the xml file and code within the activity?
<p>I've just started playing around with android, so pardon me if this is a totally stupid question. </p>

<p>I'm trying to create a simple text based game in which I ask a question based on a movie. The list of movie's is in a text file which I've included in res/raw. So basically I want to have a default string, say "Who acted in", followed by the name of the movie. Could I have the first string (along with a submit button etc) in my res/layout/main.xml file, and follow that with the movies name, after I've extracted it from the text file in my activity, or does the layout <B>have</B> to be defined in one place only?</p>

<p>Thanks..</p>
