【发布时间】:2014-09-06 16:43:03
【问题描述】:
当我单击操作栏中的某个项目时,我的弹出菜单具有黑色背景主题颜色。我想将弹出菜单的主题更改为全息光(白色)。
我该怎么做?
这是我的 style.xml 文件,暂时为空:
<resources>
<!--
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">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
以及清单摘录:
<application
android:name="com.app.ccccccc.activities.cccccccc"
android:hardwareAccelerated="true"
android:allowBackup="true"
android:icon="@drawable/ic_action_blob"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
【问题讨论】:
标签: android android-theme android-menu