I currently have a counter in dialog mode.
<Spinner android:spinnerMode="dialog" android:id="@+id/genderSpinner" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:entries="@array/gender_array" android:prompt="@string/gender_prompt" />
He will show something like this

However, sometimes I like to control the type of dialogue. For example, I would like to show a dialog with a date when the click is clicked.
Note. Google Calendar has these controls.

Can I find out how I can achieve this?
android
Cheok yan cheng
source share