Hi, I did something like what you're looking for some time ago.
The starting point was Erel's jAnotherDatePicker and a few lines of codes made it into my jdgADP class.
Although it's based on the B4J version of ADP, it should be easy to port it to B4A.