Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.