Woah, wait a second..

This video shows how to increment and decrement values inside our custom date picker widget after detecting the compound drawable clicks. Use the getCompoundDrawables method of the TextView to get a list of attached compound drawables and check if we have a valid top and bottom drawable. We get the coordinates of the MotionEvent using getX and getY and check the conditions needed to classify a click as a top drawable click or bottom drawable click. In the last step, get a Calendar object and call add method to increment or decrement the desired quantity by 1 and use the SimpleDateFormat class to display months appropriately.