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 an Interactive Story App (Retired) User Input Using EditText for Text Input

Alice Spencer
Alice Spencer
12,273 Points

SOLVED: Hint text not showing up

Everything else so far looks good, but when I input text in the hint property of nameEditText, nothing shows up either in the preview or in the emulator (I'm using Genymotion for my emulator, works so much better on a slower computer).

I've tried adjusting text color, but that didn't work, I've removed the text field, and put it in again and redid all the steps, still nothing. I know there's got to be a simple(ish) answer, but I can't seem to find the answer.\

Alice Spencer
Alice Spencer
12,273 Points

So I'm not as smart as I like to think I am... there was a SPACE in the text field. I deleted it and boom! the hint showed up. Leaving this up in case anyone else runs into such a silly problem.

2 Answers

imran esmail
imran esmail
1,464 Points

I have the same issue. There does not seem to be any space issue for me. Any ideas on how to resolve this one ?