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 Creating the Screen Layout Setting Colors

How do i set hexadecimal values for color for "Textcolor" property in Android Studio 2.2.3

In Android Studio 2.2.3 when i select the 3 dots in the "Textcolor" property of the TextView i get a dialogue box which is different from the one thats shown in the video. The dialogue box i get doesn't have an area for inputting specific values for the colors.

2 Answers

Samuel Moisan
Samuel Moisan
11,953 Points

Hi Batsirai,

Switch from the tab design to the tab text, then add this propriety:

android:textColor="#FFF"

A little box will appear showing the color, click on it and you will be able to choose the color you want. You can also use a website like Paletton to find hex code for color.

Thanks Samuel. Let me give it a shot