Design + Code an Android App from Scratch
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.