From the course: Android Development Essential Training: 2 User Interface Design
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage data entry with EditText - Android Tutorial
From the course: Android Development Essential Training: 2 User Interface Design
Manage data entry with EditText
- [Instructor] One way to accept user input is with the EditText view. We're going to create a simple user login form. This form will consist of two EditText views and a button. We're here inside of the design view in Android Studio. We're going to add our components and then position them inside of our parent constraint layout. First, we want our first EditText to accept an email address, and the second one will accept a numeric password, let's add those one by one. We'll start by using the palette, choosing the text category and we're going to first select email, drag that over to our constraint layout, and then we'll select password numeric and drag that over right underneath. And finally, since we want the user to be able to submit the form, we'll need a button and we can grab that from the buttons category. Now to keep things simple, we're going to constrain these views, just lined up one after the other.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Manage string values as resources4m 18s
-
(Locked)
Manage data entry with EditText8m 31s
-
(Locked)
Manage data entry with TextInputLayout5m 51s
-
(Locked)
Use string resources with placeholders4m 2s
-
(Locked)
Display Snackbar messages3m 16s
-
(Locked)
Challenge: Get to know you1m
-
(Locked)
Solution: Get to know you2m 39s
-
(Locked)
-
-
-