So ändern Sie meine action bar text Farbe und Schriftgröße in android

ich bin neu auf android zu wechseln, wie mein app-name text, Farbe und schriftart-Größe ,mein Standard-text-Farbe war schwarz, ich will es ändern, um Weiße Farbe und steigern meine Schriftgröße bitte mir einer helfen

style.xml

mein Standard-text-Farbe war schwarz, ich will es ändern, um Weiße Farbe

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

<!--
    Base application theme, dependent on API level. This theme is replaced
    by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">        
    <!--
        Theme customizations available in newer API levels can go in
        res/values-vXX/styles.xml, while customizations related to
        backward-compatibility can go here.
    -->
</style>

<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
    <item name="android:actionBarStyle">@style/MyActionBarTheme</item>
    <item name="android:actionBarTabTextStyle">@style/ActionBarTabText</item>
    <item name="android:titleTextStyle">@style/MyActionBarTitleText</item>
    <item name="android:actionBarTabStyle">@style/tabStyle</item>
    <item name="android:actionBarDivider">@null</item>
    <!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>

<style name="MyActionBarTheme" parent="@android:style/Widget.Holo.Light.ActionBar">
    <item name="android:background">#029C7A</item>        
</style>

<style name="ActionBarTabText" parent="@android:style/Widget.Holo.Light.ActionBar">       
    <item name="android:textColor">#CFCFC4</item>
    <item name="android:gravity">center</item>
</style> 

<style name="MyActionBarTitleText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
    <item name="android:textColor">#FFFFFF</item>
</style>

<style name="tabStyle" parent="@android:style/Widget.Holo.Light.ActionBar.TabView">
    <item name="android:tabStripEnabled">false</item>    
</style>
</resources>
  • Hallo und herzlich willkommen. Was haben Sie bisher ausprobiert?
  • <style name="MyActionBarTitleText" parent="@android:style/TextAppearance.Holo.- Widget.ActionBar.Title"> <Element name="android:textColor">#FFFFFF</item> </style> ich habe versucht diese aber keine Verwendung
  • stackoverflow.com/questions/9133290/...
  • Ich will meinen Titel text Farbe
InformationsquelleAutor Swamy Veera | 2015-10-05
Schreibe einen Kommentar