I'm using the new Toolbar
instead of the ActionBar
.
On Android 5.0 everything is just fine:
On 4.4 it doesn't show the Overflow icon (though the function is there):
This is the toolbar.xml
I'm using:
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/HeaderBar"
app:theme="@style/ActionBarThemeOverlay"
app:popupTheme="@style/ActionBarPopupThemeOverlay"
android:id="@+id/toolbar_actionbar"
app:titleTextAppearance="@style/ActionBar.TitleText"
app:contentInsetStart="?actionBarInsetStart"
android:layout_width="match_parent"
android:layout_height="?actionBarSize" />
In the styles.xml
it is needed to add the color for pre 5.0 versions:
<style name="Theme.APP.Base" parent="Theme">
<item name="actionBarIconColor">#fff</item>
...
</style>