spinner with a rectangular border

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 04:14:03

问题


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


回答1:


The best Solution for such things is to Create 9 patch image.

You need to create 9 patch image(Rectangle Box) which helps you to set the spinner with different resolution.

After creating 9 patch image use it as a background of the Spinner.



来源:https://stackoverflow.com/questions/24758446/spinner-with-a-rectangular-border

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!