Android 使用Sherlock栏为所有应用程序设置背景色

Android 使用Sherlock栏为所有应用程序设置背景色,android,user-interface,actionbarsherlock,background-color,Android,User Interface,Actionbarsherlock,Background Color,我想为我的所有活动设置白色背景。 仍然没有找到方法,如何做是简单的,它会改变我的文字颜色为黑色。 我在一些活动中使用Sherlock酒吧,我想这是我的问题。 我的清单是这样的: <application android:icon="@drawable/rss" android:label="@string/app_name" android:theme="@style/CustomTheme" > &l

我想为我的所有活动设置白色背景。 仍然没有找到方法,如何做是简单的,它会改变我的文字颜色为黑色。 我在一些活动中使用Sherlock酒吧,我想这是我的问题。 我的清单是这样的:

<application
        android:icon="@drawable/rss"
        android:label="@string/app_name"
        android:theme="@style/CustomTheme"
         >
        <activity
            android:name=".ListRss"
            android:label="@string/title_activity_listr_rss"
            android:theme="@style/Theme.Sherlock" >
        </activity>
        <activity android:name="RssItem" >
        </activity>
        <activity android:name="editRss.AddNewRss">
        </activity>
        <activity android:name="openRssItem.WebActivity" >

我的风格在哪里

   <style name="CustomWindowTitleBackground">
        <item name="android:background">#FFFFFF</item>
    </style>

    <style name="CustomTheme" parent="android:Theme">
         <item name="android:background">#FFFFFF</item>
        <item name="android:windowTitleSize">35dip</item>
        <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
    </style>

#FFFFFF
#FFFFFF
35度
@样式/自定义窗口标题背景
以我的活动为例

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/BackgroundColor"
android:id="@+id/myScreen">
<LinearLayout 
    android:id="@+id/linearLa"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"

    >

    <ImageView
        android:id="@+id/image"
        android:layout_width="50dip"
        android:layout_height="50dip"
        android:scaleType="centerCrop"
        android:src="@drawable/rss" />


如果您想使用ActionBarSherlock(除非您想覆盖所有内容),您不能使用android:Theme作为主题的父主题。 如果要使用灯光主题,必须使用以下选项:

<style name="CustomTheme" parent="Theme.Sherlock.Light">
[...]
</style>

[...]

如果您想使用ActionBarSherlock(除非您想覆盖所有内容),则不能使用
android:Theme
作为主题的父主题。 如果要使用灯光主题,必须使用以下选项:

<style name="CustomTheme" parent="Theme.Sherlock.Light">
[...]
</style>

[...]