Welcome to the Treehouse Community
Looking to learn something new?
Ben DeitchTreehouse Teacher
QA Volunteers Needed for "Build a Simple Android App in Kotlin"!
Next week we're releasing a new course: 'Build a Simple Android App with Kotlin'. It's the same course as 'Build a Simple Android App with Java' but now it's in Kotlin, and we're ready to beta test it!
This is the first course in the Android track, so if you've been looking to start learning Android with Kotlin (and you already know a little about Object Oriented Programming) then this course would be a great place to start!
If you're able to take the course and deliver feedback by Monday (Oct. 2nd), respond below to let me know that you're interested. We only need a few testers and sign up is on a first-come-first-serve basis, so don't hesitate if you'd like to participate!
If you get picked, look out for an email about what to do next. :)
I can take a look?
Fabien Deborde797 Points
I don't know if this is the right place to post, but I'm doing this course and while I was doing a challenge I got a warning message. It's the challenge to change a layout background color.
(The code below has a RelativeLayout variable named mealLayout. Change the background color of this layout to green. Use the constant Color.GREEN.)
I used the code I learned in the previous lesson :
And got an error message telling me that while it wasn't false,
mealLayout.backGroundColor = Color.GREEN
was the correct answer.
I knew both way to set the background color, but I was surprised to see that the method we just learned was not the recommended one and I'm not sure it was intended to be that way.
(Hope I didn't post in the wrong place.)