android - 更改 Android 微调器布局/设计

标签 android

我正在尝试修改 Spinner 的设计小部件。我可以更改背景,但找不到更改右侧箭头图标的方法。有办法吗?

谢谢!

最佳答案

整个事情是一个单一的 9 补丁 png 图像。我之前通过替换图像修改了微调器的整体外观。查看此页面:http://androiddrawableexplorer.appspot.com/

具体看btn_dropdown_normal.9、btn_dropdown_pressed.9、btn_dropdown_selected.9和btn_dropdown_disabled.9

您只需要提供这些图像的您自己的版本。

关于android - 更改 Android 微调器布局/设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2064928/

相关文章:

android - 错误 : type SugarRecord does not take parameters

c++ - 将 C++ 项目移植到 Android

android - 由于 AllCast,Chromecast SDK 检测到 UPnP MediaRenderer

java - Android 中的输入验证

c# - MvvmCross 5 导航服务中的 fragment 初始化顺序

android - 如何逻辑地在 xml 中构造 Android View

c# - 安卓 XAMARIN : Camera intent is returning with null data in callback

android - Gradle 与 ButterKnife 同步

android - 在 "Currently playing"转换屏幕中设置文本颜色样式

java - 如何使用字符串创建 Intent 来启动另一个 Activity ?