Question

I have an app that uses fragments and tabs. I have moved the tabs to the bottom of screen, but the tabwidget's shadow still at the top of the screen(. How to show it above the tabwidget. My main xml is same as in the following question, but slightly modified as suggested in its answer..

How to show the Tab bar in bottom, -Tab with Fragment

Was it helpful?

Solution 2

I solved this using

android:foreground="@drawable/drop_shadow"
android:foregroundGravity="bottom|fill_horizontal" 

on the FrameLayout tag.

OTHER TIPS

Try to setup this style to fragments or activities in the tabs:

    <style
        name="NoWindowContentOverlay">
    <item
        name="android:windowContentOverlay">@null</item>
    </style>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top