Use a LinearLayout as the container for the map and the TableLayout. Give the map a height of 0 and a weight of 1. Give the table whatever height makes sense and no weight.
Or, use a RelativeLayout as the container for the map and the TableLayout. Anchor the TableLayout to the right/left/bottom. Anchor the map to the right/left/top and to the top of the TableLayout. On Sun, Apr 3, 2011 at 12:52 PM, Daniel Rindt <[email protected]> wrote: > Hello, > > i would build a layout where i can have on top a google map on the > bottom should appear a table layout with some content and a button. > How to implement such a layout, i tried it a couple of hours now, and > my summary is that the map is all the time over the entire screen. I > can set the height of the map for example 120dp that works, but i want > that the map is stretching like match_parent. With the height > definition of the table on bottom i could life. > > Thanks for all suggestions. > Daniel > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.3 Available! -- 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

