I have searched a lot to find the right answer to my query but unfortunately got no working solution.
I have a Spinner,
<Spinner
android:id="@+id/dropdown_payment_methods"
android:layout_width="match_parent"
android:layout_height="@dimen/height_list_of_societies_xhdpi"
android:gravity="center"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/margin_left_right_dropdown_payment_methods_xhdpi"
android:layout_marginRight="@dimen/margin_left_right_dropdown_payment_methods_xhdpi"
android:entries="@array/various_payment_methods"
android:popupBackground="@android:color/white"
android:spinnerMode="dialog" />
Note: I am not opening my Spinner as default dropdown option but like a dialog. The closest reference I could find was the link below.
but it also mentions that the style only works for default dropdown option.
Need help with how I can customize my divider color and height when I am opening my Spinner as a Dialog.