On Wed, Aug 4, 2010 at 5:10 AM, Anders Bromhagen <[email protected] > wrote:
> What is the best practise for this? I don't know about "best", but you have to have a MapActivity for a MapView. > Tab view seems like a solution but can i customize the tab buttons? I think you can have multiple activities within a TabActivity for the contents, but I don't know about how much control over the tabs you have. Based on posts I've seen, I don't think it's much. > Should the map and list be in different activities or the same? If you want to smoothly transition between the two and they both represent the same data, probably in the same activity. > Now i have two different activities one exteding MapActivity and one > extending ListActivity but no way to toggle between them. What I would do is try to add a ViewSwitcher (or ViewFlipper?, not sure) to the MapActivity with the MapView and ListView and use that to switch between the two. > Is it possible to load activities into a FrameLayout? No, that's a View, you can't load activities into a View. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

