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

pdiaz
pdiaz
16,073 Points

How do I put in an area where I would make a question and there would be a small white box for the user to put input?

How to attach user input to your application? Also to make a new screen on your app do you simply make a new layout and a activity for that layout?

1 Answer

If you want a text-input your application, use an EditText (Text Fields), that's the standard way to let the user write text, numbers, etc.

If you want to implement different layouts in your application, there are a wide number of options depending on your need. Maybe take a look at fragments and how to declare layouts.

Hope this helps.