更改Android的微调布局/设计 [英] Changing Android Spinner Layout/Design

查看:120
本文介绍了更改Android的微调布局/设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想修改微调插件的设计。我可以改变的背景下,但我不能找到一种方法来改变右侧的箭头图标。有没有办法做到这一点?

I am trying to modify the design of Spinner widget. I can change the background, but I can't find a way to change the arrow icon on the right side. Is there a way to do it?

谢谢!

推荐答案

整个事情是一个单一的9补丁png图片。我以前通过更换修改过的影像微调的整体外观。看到这个页面:<一href="http://androiddrawableexplorer.appspot.com/">http://androiddrawableexplorer.appspot.com/

The whole thing is a single 9 patch png image. I've modified the entire look of spinners before by replacing the images. See this page: http://androiddrawableexplorer.appspot.com/

具体来看btn_dropdown_normal.9,btn_dropdown_ pressed.9,btn_dropdown_selected.9和btn_dropdown_disabled.9

Specifically look at btn_dropdown_normal.9, btn_dropdown_pressed.9, btn_dropdown_selected.9 and btn_dropdown_disabled.9

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

You just need to provide your own versions of those images.

这篇关于更改Android的微调布局/设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆