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 Self-Destructing Message Android App Starting the App Adding the Login Screen

Simple but annoying "Hello world" issue following the ADT bundle update.

Hey Everybody,

Following the ADT bundle update, I get through the following issue :

In the "adding the login screen" part, when I am opening a blank activity, I cannot delete de "Hello world" string as it does not appear either on the graphical layout or in the activity_login.xml

However "Hello world" appears in the emulator when I launch the app.

Where does this "Hello world" comes from? (fragment?) How can I get rid of this "Hello World"?

Found the solution.

It looks like a fragment_login.xml is created when you open a blank activity for your login screen. In this login fragment, there is a TextView tag in which the string "Hello world" is located. To fix my problem I did delete the the textview tag and everything that was inside. The "Hello world" message does not appear anymore in the emulator screen. :-D

Hope it will help.

2 Answers

It is stored in res > values > strings.xml try to delete it from there.

Thanks a lot Mark