带有矩形边框的微调器 [英] spinner with a rectangular border
本文介绍了带有矩形边框的微调器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个Android应用程序客栈,我想使用带有白色边框的Spinner,如图所示.
I am developing an android app inn which I want to use a Spinner with a white border as shown in the image.
请帮助我如何实现相同目标. 预先感谢
Please help me how can I achieve the same. Thanks in advance
推荐答案
针对此类问题的最佳解决方案是创建 9个补丁映像.
The best Solution for such things is to Create 9 patch image.
您需要创建9个贴片图像(矩形框),以帮助您设置具有不同分辨率的微调器.
You need to create 9 patch image(Rectangle Box) which helps you to set the spinner with different resolution.
创建 9个补丁图像后,将其用作微调框的背景.
这篇关于带有矩形边框的微调器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文