android - Remove shadow overlay on top edge of LinearLayout -
as above: have sliding drawer in form of linear layout, linear layout has semi transparent black background gradient, however, seems there sort of default overlay gradient applied top edge of layout default, there way disable this?
tried:
<style name="nooverlayshadow" parent="appbasetheme"> <item name="android:windowcontentoverlay">@null</item> </style>
this code app, , working
<style name="apptheme" parent="@style/theme.sherlock.light.darkactionbar"> <item name="actionbarstyle">@style/widget.styled.actionbar</item> <item name="android:actionbarstyle" tools:ignore="newapi">@style/widget.styled.actionbar</item> </style> <style name="widget.styled.actionbar" parent="widget.sherlock.light.actionbar.solid.inverse"> <item name="background">@android:color/transparent</item> <item name="android:background">@android:color/transparent</item> </style>
and in activity:
requestwindowfeature(window.feature_action_bar_overlay);
snapshot:
Comments
Post a Comment