I am Using Overlay Action Bar By Using the Following Style to my Activity
style.xml
<style name="CustomActionBarTheme" parent="@style/Theme.AppCompat" >
<item name="windowActionBarOverlay">true</item>
<item name="android:background">#00f3ead8</item>
<item name="android:windowBackground">@drawable/logo1024</item>
</style>
I have only one menu item that is to be displayed Always
menu.xml
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menusettings"
android:orderInCategory="100"
android:icon="@drawable/settings"
android:title="Menu"
yourapp:showAsAction="always"
/>
<menu>
The Icon i.e the settings.png is getting padded by 8dp But I want 0 padding on the top and bottom so that it covers the Entire Actionbar
Please Help me out in deep trouble very close to the deadline of the project Thanks in advance