Android 背景和文本颜色在某些设备中不起作用

Android 背景和文本颜色在某些设备中不起作用,android,Android,正如标题所说,在一台设备(moto x)中,布局显示与我设置的颜色完美匹配,但在我的另一台设备(moto e)中,背景显示为白色,文本显示为蓝色(必须显示颜色反转)。布局相同:} <RelativeLayout android:id="@+id/profile_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_belo

正如标题所说,在一台设备(moto x)中,布局显示与我设置的颜色完美匹配,但在我的另一台设备(moto e)中,背景显示为白色,文本显示为蓝色(必须显示颜色反转)。布局相同:}

<RelativeLayout
    android:id="@+id/profile_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@+id/header_cover_image"
    android:background="@color/azulClaro"
    android:elevation="4dp"
    android:paddingTop="15dp"
    android:paddingBottom="15dp">

    <com.jerarquicos.jsmovil.ui.comun.ImagenCircular
        android:id="@+id/user_profile_photo"
        android:layout_width="120dp"
        android:layout_height="120dp"
        android:layout_below="@+id/header_cover_image"
        android:layout_centerHorizontal="true"
        android:background="@drawable/imagen_circular"
        android:elevation="5dp"
        android:padding="20dp"
        android:scaleType="centerInside"
        android:src="@drawable/ic_icon_user_blanco"/>

    <TextView
        android:id="@+id/user_profile_name"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/user_profile_photo"
        android:layout_centerHorizontal="true"
        android:textColor="#fff"
        android:gravity="center"
        android:textSize="18sp"
        android:textStyle="bold"/>


</RelativeLayout>

<item name="azulClaro" type="color">#1378ff</item>

#1378ff

有什么问题吗?

你在使用instant run吗?@petey是的,我在使用instant runtry关闭它,看看你是否得到了预期效果?@petey不工作,问题是API级别,我想你在使用instant run吗?@petey是的,我在使用instant runtry关闭它,看看你是否得到了预期效果?@petey不工作,我认为问题在于API级别