Android Settings 修改默认主题为白底黑字

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Mr_kings/article/details/52421781

packages\apps\Settings\res\values\themes.xml

 

<applicationandroid:label="@string/settings_label"

           android:icon="@mipmap/ic_launcher_settings"

           android:taskAffinity="

             android:theme="@style/Theme.Settings

 

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

……

  <itemname="android:actionBarStyle">@android:style/Widget.Holo.ActionBar.Solid</item>

</style>

//替换上面的主题与ActionBar

<stylename="Theme.Settings"parent="@android:style/Theme.Holo.Light">

…….

    <itemname="android:actionBarStyle">@android:style/Widget.Holo.Light.ActionBar.Solid</item>

    </style>

没有更多推荐了,返回首页