How to change Options menu dots color?

AndroidColorsMenuOptions

Android Problem Overview


I want to change Options menu's dots color to white. I tried to add image for this but dose not work. How to do this?

enter image description here

menu xml :

 <menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="com.example.siddhi.timetablelayout.Main2Activity">

    <item android:id="@+id/action_settings" android:title="@string/action_settings"
        android:orderInCategory="100" app:showAsAction="never"
        android:icon="@drawable/ic_more_vert_white_48dp"/>
</menu>

Thank you.

Android Solutions


Solution 1 - Android

Put it in your style.xml in AppTheme:

<!-- android:textColorSecondary is the color of the menu overflow icon (three vertical dots) -->
<item name="android:textColorSecondary">@color/white</item>

Solution 2 - Android

You can change the image used for it using the following style declaration.

<style name="MyCustomTheme" parent="style/Theme.Holo">
<item name="android:actionOverflowButtonStyle">@style/MyCustomTheme.OverFlow</item>

</style>

<style name="MyCustomTheme.OverFlow">
<item name="android:src">@drawable/my_overflow_image</item>

</style>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSidView Question on Stackoverflow
Solution 1 - Androidayz4sciView Answer on Stackoverflow
Solution 2 - AndroidAndroid GeekView Answer on Stackoverflow