Re: [android-developers] How to inflate a MapView inside a ViewFlipper??
On Wed, May 9, 2012 at 12:17 PM, pedro242 pedro.contreir...@gmail.comwrote: 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
Re: [android-developers] How to inflate a MapView inside a ViewFlipper??
Have you ever tried this? Not sure it works, since i will likely face another issue in managing the ListView without the ListActivity... -- 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
Re: [android-developers] How to inflate a MapView inside a ViewFlipper??
No such issues. Just try it out. A MapView is really special and requires a MapActivity. A ListView does not *require* a ListActivity, it's only there to make things a tiny bit easier. 09.05.2012 22:02 пользователь pedro242 pedro.contreir...@gmail.com написал: Have you ever tried this? Not sure it works, since i will likely face another issue in managing the ListView without the ListActivity... -- 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 -- 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
Re: [android-developers] How to inflate a MapView inside a ViewFlipper??
Thanks guys, just tried it out and it works... But the inflating manner is still confused for me. -- 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