Share Coding

Tutorials, Problems, Stuffs …

Android How to disable action bar shadow?

Google Material design showing demonstration that an ActionBar always have no shadow.


To do this, set android:windowContentOverlay to @null at your style.

In res/style.xml

<style name="MyOrange" parent="@android:style/Theme.Holo.Light">
     <item name="android:windowContentOverlay">@null</item>

In AndroidManifest.xml

        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: