How do I change the overflow icon to white in the action bar?

Hi can anyone help me on this how to change the overflow icon to white. I tried a lot but it doesn't come here, my code can help me. Help would be appreciated. Here is the code I think so this is just a minor bug. I cannot find the error, please help me.

<resources xmlns:android="http://schemas.android.com/apk/res/android">


    <style name="MyTheme" parent="@android:style/Theme.Holo.Light">
        <item name="android:actionBarStyle">@style/MyActionBar</item>
        <item name="android:textAppearance">@style/MyTheme.ActionBar.Text</item>
    </style>

    <style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
        <item name="android:background">#336699</item>
         <item name="android:actionOverflowButtonStyle">@style/MyTheme.ActionBar.OverFlow</item>
    </style>
     <style name="MyTheme.ActionBar.OverFlow" parent="@android:style/Widget.Holo.ActionButton.Overflow">
    <item name="android:src">@drawable/menu</item>
</style>
    <style name="MyTheme.ActionBar.Text" parent="@android:style/TextAppearance">
    <item name="android:textColor">#ffffff</item>
    <item name="android:textSize">25dp</item>
</style>
<style name="myTheme" parent="@android:style/Theme.Holo.Light">
        <item name="android:actionBarStyle">@style/myTheme.ActionBar</item>
        <item name="android:actionMenuTextColor">#ffffff</item>

    </style>

    <style name="myTheme.ActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
        <item name="android:background">#336699</item>
         <item name="android:actionOverflowButtonStyle">@style/myTheme.ActionBar.OverFlow</item>
        <item name="android:titleTextStyle">@style/myTheme.ActionBar.Text</item>
    </style>

    <style name="myTheme.ActionBar.OverFlow" parent="@android:style/Widget.Holo.ActionButton.Overflow">
    <item name="android:src">@drawable/menu</item>
</style>

    <style name="myTheme.ActionBar.Text" parent="@android:style/TextAppearance">
         <item name="android:textSize">23dip</item>

          <item name="android:fontFamily">sans-serif-condensed</item>
        <item name="android:textColor">#ffffff</item>
    </style>



</resources>

      

+3


source to share


1 answer


Make your theme dark:

<style name="MyTheme" parent="@android:style/Theme.Holo.Dark">

      



otherwise you can change the theme of the action bar:

<style name="MyTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">

      

0


source







All Articles