Create your account

Already have an account? Login here

Create account

55. Setup Dialog Add in XML

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to buy this course, or login to your account to view this lesson.

Alright, buy it for $25 Or login to your account if you purchased already.

This video shows how to create the XML layout for the Dialog responsible for adding items in our Bucket Drops app. In the first step we create the layout file with a RelativeLayout as the root element, it has a TextView that displays “Add a Drop” followed by an ImageButton to let the user close the Dialog. We have an EditText below to let the person enter their drop or goal and a custom Date Picker that lets them set the Date below this followed finally by the Button that lets you add a drop. We use the Android Studio Drawable Importer plugin to add the necessary icons.

Course Cirriculum