I have an activity. It does not have a title bar. The content view is just a linear layout. It looks like android draws a drop shadow at the top of my content view, directly below the status bar. Is there a way to stop that from being drawn?
My layout is just:
<LinearLayout ... />
I have no titlebar:
requestWindowFeature(Window.FEATURE_NO_TITLE);
Thanks.
In res/values/styles.xml:
<style name="Theme.Custom" parent="@android:style/Theme.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
Then in your manifest:
<activity android:name=".YourActivity"
android:theme="@style/Theme.Custom" >
...
</activity>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With