Calender and terms of use example with layout inflater