Dear Learner,
We hope you are doing well.
Please refer the below given link to download the code for
displaying datepicker on button click and then displaying the same date
in a textview.
https://drive.google.com/file/d/0B1R1HZLRSov_WmRpUHBiMmk3NWM/view?usp=sharing
Feel free to contact us in case you have any query.