本文介绍了如何更改微调的背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在使用adapter.By默认微调的背景颜色,而与文字颜色和文字大小prepared定制的微调,在这里,我想改变白到其他颜色或图像?
有任何的变化而变化的微调颜色backgroung?请帮我
解决方案
<微调机器人:ID =@ + ID /飞旋
...
机器人:背景=#YOUR_HEXA_COLOR/>
这并不为你工作?
否则,如果您使用的是自定义的微调你可以从这个。
I have prepared custom spinner with text color and text size using adapter.By default spinner background color while ,here i want to change white to some other color or image?
Is there any change to change backgroung color of spinner?. Please help me
解决方案
<Spinner android:id="@+id/spinner"
...
android:background="#YOUR_HEXA_COLOR"/>
This didn't work for you?
Else if you are using a custom Spinner you can have it from this Blog
.
这篇关于如何更改微调的背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!