as you can see, I’ve a bottom bar (its not using TabHost or anything, partially because obviously its depreciated but also partially because this is only on two activities in the app so I don’t need to do a tab host for just two pages). Anyway there is content ‘under’ that tab bar. Android won’t scroll any further because as it sees it that content is viewable, yet it isn’t really.
My question is whats the best way to get that content up above the tab bar.
Some ideas I had:
- transparant image of a set height (since the tab bar is set height) and a width of wrap_content. This isn’t working.
- use the background of the tab bar and make it look inconspicuous.
- Make the bottom bar not transparent and put anything there, with a set height.
You might be interested in my xml structure:
<RelativeLayout>
<ScrollView>
<LinearLayout>
<RelativeLayout>
<LinearLayout>
</LinearLayout>
<LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</ScrollView>
<LinearLayout>
TAB BAR
</LinearLayout>
</RelativeLayout>

if your TAB BAR has fixed height than you can set
ScrollViewmargin bottom attribute. This will always show yourScrollViewdata above the TAB BAR