How to combine Activities on Android?
<p>I have an a Java Android app that calls different activities. I thought this was how you would go about doing some object encapsulation (these three different activities show different screens but all relevant to the function of the program). </p>

<ol>
<li>The first is the main GUI and main page of the App.</li>
<li>The next essentially parses an XML file and displays some text-based
output.</li>
<li>Finally the third is a map viewer that builds a map based on the XML
file read in the second Activity.</li>
</ol>

<p>The problem I'm having is that these show up as 3 different activities on the phones. Is there anyway to encapsulate them in just one activity, or is there another method I should go about using to create multiple different screens in one app?</p>

<p>Thanks</p>
