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 (2014) Creating the Screen Layout Editing a Layout File

satyanand kunta
satyanand kunta
599 Points

Not able to select text 'Hello World!'

I have loaded Android studio on windows 8. The xml code shown in the video do not match with mine and i'm not able to select 'Hello World' text. How do i fix this

2 Answers

Max Gallant
Max Gallant
15,500 Points

Hi,

Are you using the newest version of Android Studio? There seem to be some significant differences here. I'm using the newest version and found that I needed to open the content_fun_facts.xml file (in the same folder in the project as activity_fun_facts.xml) in order to be able to select text.

Dominique Brassey
Dominique Brassey
1,164 Points

Same here: I'm in Android Studio 1.5 and I needed to open the content_fun_facts.xml file to access the text.

What version is being used in the video?

I'd like to switch to that version so I can have a smoother learning experience.