I want to create an activity with a title bar at top and a navigation bar at bottom. I used include
to include the title bar layout and the navigation bar layout in
You have nothing to fill the space between the top and bottom bar by the looks of it.
As a side not I tend to use LinearLayout instead and use the layout_weight attribute in the following way;
title_bar & navigation_bar get layout_weight="0" and the content between the two gets layout_weight="1". This tells the layout manager to expand the content to fill the space between the two if your linear layout is;
title_bar content navigation_bar