質問

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

役に立ちましたか?

解決 2

I solved this using

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

on the FrameLayout tag.

他のヒント

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

    <style
        name="NoWindowContentOverlay">
    <item
        name="android:windowContentOverlay">@null</item>
    </style>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top