If I create a MapActivity
that has, in its layout, a MapView
and a ListView
. And that I use findViewById()
to get to the ListView
will I be able to correctly manage my listview items' onclick events etc?
The fact is that I'm a beginner in Android, and I would like to do a layout like this for my tablet : http://img69.imageshack.us/img69/7623/mapqk.png
First I started to use Fragments, however I encountered some trouble to use MapVi开发者_如何学Cew inside fragment... So I decided to start from scratch without the Fragment system.
That should work just fine. It is not at all a special layout: you can just use a RelativeLayout and put them side by side, or a set of nested LinearLayouts with appropriate weights. Events should function in standard fashion as well.
精彩评论