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 trialdlpuxdzztg
8,243 PointsWhat happened to EditText?
I took a 2-week hiatus from Android Studio and came back to see EditText nowhere to be found. What happened to it? Was there an update I was unaware of?
1 Answer
Jason Wiram
42,762 PointsIf you look in the Android Studio palette you will no longer see something named EditText. It is still there though. In the palette, select Text. You will see Plain Text, Password, etc. Add one of these to your layout by dragging and dropping it. If you then look at the code (the XML) you will see that they are EditTexts. You can see this in the component tree as well. You will notice that they each have an "android:inputType" that dictates what kind of EditText it is. Example:
android:inputType="textPassword"