MaterialSpinner
MaterialSpinner copied to clipboard
ms_popup_padding_bottom and ms_popup_padding_top does not work
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.
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 :)
I just added
<dimen name="ms__item_height">24dp</dimen>
to mydimens.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.