This is the second part of the two-part series. The first part is:
Implement Android dropdown just the way you want.