Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

92. Setup Bucket Picker Widget in Java

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to become a pro member, or login to your account to view this lesson.

Alright, join now. Or login to your account if you're already a pro member.

This video shows how to build our Compound View in Android by inheriting from the LinearLayout. Add the three required constructors, one which is used while initialising the widget directly in code and the others used while initialising the widget from XML. Use the onFinishInflate method which is called as the last phase of inflation after all the child views have been added to initialise the TextViews representing the date, month and year in our compound view. Finally we add an update method that lets us set the date, month and year to the current values when the app is running.

Course Cirriculum