Lib to get Dropdown activity

Hi I am creating a lib fun to create custom activity. I need to create a dropdown selector option. Like
Input 2 numbers and select operator- +, _ , *, /

Based on user selected operator operation will performed. Pls suggest how to make dropdown option to help the use to select the operator from dropdown