开发者

Where can I get the 9 patch for the Spinner used in the Android OS in the Eclipse-Android Emulator?

开发者 https://www.devze.com 2023-03-11 02:42 出处:网络
I am looking for a png for each state, I looked in the source code and the 9 patches provided there all dont开发者_如何学C look like spinner when used as a background for one.Please help.Thanks in adv

I am looking for a png for each state, I looked in the source code and the 9 patches provided there all dont开发者_如何学C look like spinner when used as a background for one. Please help. Thanks in advance


Take a look in the density-specific drawable directories in the distribution. For instance, all the 9-patches for medium density in my 2.3 distribution are at:

C:\android-sdk-windows\platforms\android-9\data\res\drawable-mdpi\spinner_*.9.png


Take a look at your platform's data\resources folder. Mine, for example, is at:

D:\Android\SDK\android-sdk-windows\platforms\android-9\data\res

Where ever you installed your Android SDK just work your way down to whatever particular platform's resource folder (underneath 'data') that you like to see the various items used by Google.

Hopefully you'll find this useful.

0

精彩评论

暂无评论...
验证码 换一张
取 消