Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove shadows below actionbar appcompat

Is it possible to remove the shadow below the Actionbar?

I am using the AppCompat v7 library.

like image 867
cpalosrejano Avatar asked Mar 24 '14 16:03

cpalosrejano


1 Answers

This works with AppCompat:

<style name="MyAppTheme" parent="Theme.AppCompat.Light">
    <item name="actionBarStyle">@style/MyActionBarTheme</item>
</style>

<style name="MyActionBarTheme" parent="Base.Widget.AppCompat.Light.ActionBar.Solid">
    <item name="elevation">0dp</item>
</style>
like image 109
Damnum Avatar answered Oct 14 '22 14:10

Damnum