Android Build a Simple Android App Creating the Screen Layout Setting Colors

I cant get through the color change part of the simple quiz app, I even copy pasted the hex in and its always wrong

Here is the code that I am putting in (I am supposed to change the background color from "white" to a dark pink with the hex code fff092b0

activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@android:color/#fff092b0" >

  <TextView
    android:id="@+id/textView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_centerVertical="true"
    android:text="Treehouse loves me!"
    android:textSize="72sp"
            android:textColor="@android:color/white" />

</RelativeLayout>

1 Answer

Close, but this line

android:background="@android:color/#fff092b0" >

needs to be changed to this:

android:background="#fff092b0" >

I see, you only need the "@android:color" if you are using one of the named colors. Thanks a lot