Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Now let's change the background color of the whole RelativeLayout to a dark pink. Use the code #fff092b0.

Correct me please

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:background="@android:color/white" #fff092b0 >

    android:text="Treehouse loves me!"
    android:textSize="72sp" />


1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there, Sezare Freta Miguel ! Looks like you're off to a solid start and made it past the first step! In the second step, you are meant to replace entirely the "@android:color/white" with "#ff092b0". Instead, you have tacked it onto the end there, and that's not going to work. The value needs to be a string.

Hope this helps! :sparkles:

may you help because im still stuck