Best practise for displaying multiple controls which require an extended class?
<p>If I want to display a <code>MapView</code> inside my <code>Activity</code> I would have to extend my <code>Class</code> from <code>MapActivity</code>. If I want to display a <code>Tabbed</code> interface I would have to extend my <code>Class</code> from <code>TabActivity</code>. Similar is the case with some other controls which require user class to extend from a specific class.</p>

<p>Let's say inside my <code>Activity</code> I want to display both a <code>MapView</code> for displaying Google Map and a <code>TabView</code> to display some other data. I can't do it directly because Java doesn't support multiple inheritance. My question is how can I achieve this scenario? How can I display multiple controls inside my activity where each require your class to extend from a specific class. Is it possible first of all? If yes, what are the best practises to achieve this scenario? </p>

<p><strong>Update</strong> I want to achieve this</p>

<p><img src="http://i.stack.imgur.com/nLUci.png" alt="enter image description here"></p>

<p><strong>I am using Map and Tab for sake of an example. I would like to know how you can tackle this scenario in general?</strong></p>
