Android Question Tabhost - how to remove footer?

Jimdriver2

Member
Licensed User
Longtime User
I'm using a Tabhost on one layout that's used for the entire screen in my layout. (I've got various different Customlistviews on different tabs.)

The one problem I've got is that there is always a small little 'footer' on the tabhost that's just blank, showing the colour of the background Activity. Is there anyway to remove this footer, so that the content of the tabhost reaches the very bottom?

Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
Sounds more like an bad design. It does not have a "footer" here.
Upload a small project which shows the issue.
 
Upvote 0

Jimdriver2

Member
Licensed User
Longtime User
Below is a screenshot of the app. As can be seen at the bottom of the screen, above the navigation bar, is a small grey-ish bar that is cutting off the contents of the current tab. I scrolled my CustomListView so it can be seen that one panel is cut off.

If feel confident it's not the combination of layouts. The activity loads in a layout that just has one Tabhost on it. I've used the script section to set the tabhost width and height to 100%x and 100%y respectively. Inside the tab shown below another layout is loaded. All that layout has on it is a CustomListView, and that's been fully anchored to both sides and the top and bottom. So all views are set to use the full height. When I've used CustomListViews on other layouts and they're not in tabhosts they fully reach the bottom.

That's why I think it's not bad design and more how the tabhost is constructed on the screen, with a small 'footer' that in terms of colour matches the header that holds the tabs.

xRjH7cyiuVeMZGXv8aN7BDOsBZLPSW-201P_kQYU_h3FV8UqkfO0Cj3RGDXxHyhYDBfIusnwfn07v0RO2kfX5Pi4SoH7LNKgJmNUjLEtZBS1ZZEkuNlCHVnqQ8medMFq7bKLCyqfch76OAVZWtnFCFlpLrHj8QakDhEGoYs2_4o-00ss8CFH5pNT6lOq_ifzxGy_Ozi_BbnhZfSTEST8eGoy3Gu5EopvXx_uYzKLZMO9jJIHJpFGrJQVGl5dVxMo4JddqaVP07sqra_qKLquTlzOjBJqip1X45g16vSNi7y0MKIpCxK7QcLx1YiHu5Ruw9SFfFMwfUflgR2UyfCfyVzZFX-itde1TiNHJRjHz0vfPLakjoeyxFX2blCijBiDyAboJl1tXFajet--OgkC4WY-ma8UUaLvcZfX7o_A_c2S22xArqutKN93wVwL2RfyCF_HwZnR_q67EBR9lIa-c1rCtMKQR2VPrchduTPX6zc0OQ6XkBeGFf6tZv57XYwCEYLKmh6zvJteHoCZdaCl4Qt7kvZQ2hJO8sT2y3MvYt_-2JsI7RZRUayHRCbEzQkx34IqN2I3nPG19f43uPVcd5e6ZaoN_EGDSsJE_eENUMtPWS2UW_v37HTEiCCBYEVPXFwg2MwmMNa6C5mppY6vuk8v=w588-h1175-no
 
Upvote 0
Top