Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Creating the Screen Layout Setting Colors

yusuf Dibswazit
yusuf Dibswazit
1,522 Points

how do i change the background color?

how do i change the color, i have changed the attribute and then changed the value, but all to end up failing.

what should i do? i have changed the attribute as if it were css, but without luck, i end up failing :(

android:backgroundolor:"#fff092b0" />

1 Answer

Kevin Faust
Kevin Faust
15,353 Points

Hey Yusuf,

android:backgroundolor:"#fff092b0" 

should be

android:background="#fff092b0"

Tell me if that fixes it!