On Wed, May 9, 2012 at 12:17 PM, pedro242 <pedro.contreir...@gmail.com>wrote:

> My main activity is  a ListActivity, where the view(main.xml) contains a 
> ListView
> and a ViewFlipper
> just below. For each selected line in my ListView i want to update the
> content of the ViewFlipper.
> Based on two buttons, my ViewFlipper would switch between the  MapView and
> a basic LinearLayout. As far
> as i understand i should inflate my MapView but I did not find any
> informatio about how to do that..
> Of course I'm aware that a MapActivity should appear somewhere..
>

You'd have to change your main activity from a ListActivity to a
MapActivity and handle the list-related behaviors yourself.

-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to