This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Getting to Know Our Tools 4:52
- Android Tools Overview 5 questions
- Editing a Layout File 4:52
- Changing Text in a Layout 1 objective
- Adding a TextView 4:15
- Changing Text Size 1 objective
- Adding a Button 4:31
- Adding a Button 1 objective
- Setting Colors 5:26
- Setting Colors 2 objectives
- Setting Padding 1:13
- Setting a Fullscreen Theme 3:30
- Setting Padding 1 objective
Well done!
You have completed Build a Simple Android App with Java!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
The main pieces are in place, but now we need to change some colors. Let’s see how to set colors for the background of the screen as well as the text in our TextView and Button widgets!Change transparency of colors by manipulating hex codes.
Color codes (from the style guide)
#39add1 // light blue
#3079ab // dark blue
#c25975 // mauve
#e15258 // red
#f9845b // orange
#838cc7 // lavender
#7d669e // purple
#53bbb4 // aqua
#51b46d // green
#e0ab18 // mustard
#637a91 // dark gray
#f092b0 // pink
#b7c0c7 // light gray
Related Links
Documentation
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Majdi Jaigirdar
3,973 Points0 Answers
-
Andrew Hamilton
3,341 Points1 Answer
-
katrina turqotte
175 Points1 Answer
-
PLUS
John Greer
Courses Plus Student 759 Points2 Answers
-
Valentino Galasso
1,488 Points1 Answer
-
PLUS
Troy Machado
Courses Plus Student 570 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up