Chivorns / SmartMaterialSpinner

The powerful android spinner library for your application
https://github.com/Chivorns/SmartMaterialSpinner
Other
333 stars 56 forks source link

Unable to change the list background color #15

Closed mooglife closed 4 years ago

mooglife commented 4 years ago

Hi there,

great work!! Thanks.

I am unable to change the background color (in xml nor in java class),

This may not be an issue, maybe I missed something. but could you please suggest how I can achieve it?

Attached is the screenshot.

Best Vij

screenshot

Chivorns commented 4 years ago

Hi @mooglife, thank for your support and feedback for this. I will include it to next release soon. As I am busy with other projects, it might be late for your need. Please stay tune!

Chivorns commented 4 years ago

Hi @mooglife , I have done for this request. I will include it in next release!

Chivorns commented 4 years ago

Hi @mooglife , your request is available in release v1.2.1 now. Please enjoy!

mooglife commented 4 years ago

Hi @Chivorns,

great response and support.

Thank you Vij

Chivorns commented 4 years ago

You're welcome.

ChildProdigy commented 3 years ago

This problem still exists. app:smsp_itemListBackgroundColor="@color/white" not working.

ChildProdigy commented 3 years ago

if (isDropDownView) { if (isShowDropdownHint) { <========== Why? XD if (itemListBackground != 0) parent.setBackgroundColor(itemListBackground); textView.setTextColor(itemListHintColor); textView.setBackgroundColor(itemListHintBackground); textView.setPadding(textView.getPaddingLeft(), dpToPx(12), textView.getPaddingRight(), dpToPx(12)); } else { hideTextView(textView); } }

ChildProdigy commented 3 years ago

Why backgroundColor change need showDropdownHint?