MaterialSpinner icon indicating copy to clipboard operation
MaterialSpinner copied to clipboard

ms_popup_padding_bottom and ms_popup_padding_top does not work

Open 4332weizi opened this issue 5 years ago • 2 comments

I want set ms_popup_padding_bottom and ms_popup_padding_top with value 2dp, but it is does not work.

android:minHeight="@dimen/ms__item_height" has been set to list item , so I can not set ms_popup_padding_top or ms_popup_padding_bottom with a small value.

4332weizi avatar Apr 12 '19 08:04 4332weizi

I just added <dimen name="ms__item_height">24dp</dimen> to my dimens.xml file, which overrides the default value. After that i was able to set the desired padding. It's a late comment, but I hope it helps someone :)

Frank-99 avatar Jul 04 '19 13:07 Frank-99

I just added <dimen name="ms__item_height">24dp</dimen> to my dimens.xml file, which overrides the default value. After that i was able to set the desired padding. It's a late comment, but I hope it helps someone :)

This helped me a lot, thanks. But still, the padding works not for the first item in the popup list. I'd like to have a top/bottom offset in the popup.

Darksymphony75 avatar Mar 27 '22 16:03 Darksymphony75