Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 有一种活动颜色看起来不一样,就像整个应用程序中的淡黄色。你知道为什么会这样吗?_Android_Android Activity_Android Background - Fatal编程技术网

Android 有一种活动颜色看起来不一样,就像整个应用程序中的淡黄色。你知道为什么会这样吗?

Android 有一种活动颜色看起来不一样,就像整个应用程序中的淡黄色。你知道为什么会这样吗?,android,android-activity,android-background,Android,Android Activity,Android Background,请提出一些建议。我不知道如何改变这个。 我给了白色背景#FFFFFF。但它看起来像淡黄色的阴影,不是完美的白色 这是最新的问题检查,让我给出一些建议。提前谢谢 第一屏: 第二屏: 代码xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_w

请提出一些建议。我不知道如何改变这个。 我给了白色背景#FFFFFF。但它看起来像淡黄色的阴影,不是完美的白色
这是最新的问题检查,让我给出一些建议。提前谢谢

第一屏:

第二屏:

代码xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
          android:tag="cards main container"
    android:background="@color/background_grey"
    android:paddingLeft="10dp"
    android:paddingRight="10dp"
    android:paddingTop="10dp">

    <android.support.v7.widget.CardView
        android:id="@+id/card_view"
        xmlns:card_view="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="2dp"
        android:background="#FEFEFE"
        card_view:cardBackgroundColor="#FEFEFE"
        card_view:cardCornerRadius="1dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:gravity="left">
            <ImageView
                android:id="@+id/imageView"
                android:tag="image_tag"
                android:visibility="gone"
                android:layout_height="160dp"
                android:layout_marginLeft="7dp"
                android:layout_marginRight="7dp"
                android:layout_marginTop="7dp"
                android:layout_weight="1"
                android:scaleType="centerCrop"
                android:src="@drawable/logo_default_image"
                android:layout_width="fill_parent" />
            <LinearLayout
                android:layout_height="wrap_content"
                android:layout_weight="2"
                android:paddingTop="25dp"
                android:paddingLeft="25dp"
                android:paddingRight="25dp"
                android:paddingBottom="32dp"
                android:gravity="top"
                android:orientation="vertical"
                android:layout_width="wrap_content">

                <com.nowfloats.CustomWidget.roboto_lt_45_505050
                    android:id="@+id/textViewName"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:maxLines="4"
                    android:textColor="@color/black"
                    android:textSize="16sp"
                    android:text="Large Text"/>

                <com.nowfloats.CustomWidget.roboto_md_36__565656
                    android:id="@+id/textViewEmail"
                    android:layout_width="wrap_content"
                    android:textColor="@color/black"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="17dp"
                    android:textSize="16sp"
                    android:text="Medium Text"/>
            </LinearLayout>
        </LinearLayout>
    </android.support.v7.widget.CardView>
</LinearLayout>


试试#FEFEFE而不是#FFFFFF。你能发布布局的XML代码和屏幕截图吗?FEFEFE也不工作在设备上还是在模拟器上它看起来是淡黄色的?在设备上它看起来是淡黄色的