So ändern Sie die Textfarbe in der Android-Aktionsleiste

Hallo Ich brauche Hilfe beim Ändern der Textfarbe der Aktionsleiste. Das Folgende ist meine style.xml. Ich muss die Textfarbe einschließlich des Einstellungssymbols in Weiß ändern.

    <resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
    </style>

    <style name="AppTheme.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" >

    </style>
    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>

Die String.xml-Quellcodes lauten wie folgt.

<resources>
    <string name="app_name">yebo</string>

    <string name="navigation_drawer_open">Open navigation drawer</string>
    <string name="navigation_drawer_close">Close navigation drawer</string>

    <string name="action_settings">Settings</string>

</resources>

Antworten auf die Frage(12)

Ihre Antwort auf die Frage