Android设计中的.9.png
16lz
2021-01-23
Android设计中的.9.png
http://isux.tencent.com/android-ui-9-png.html
Draw 9-patch | Android Developers
http://developer.android.com/tools/help/draw9patch.html
Draw9patch
Usage:
Here's a quick guide to create a Nine-patch graphic using the Draw 9-patch tool. You'll need the PNG image with which you'd like to create a NinePatch.
- From a terminal, launch the
draw9patch
application from your SDK/tools
directory. - Drag your PNG image into the Draw 9-patch window (orFile>Open 9-patch...to locate the file). Your workspace will now open.
The left pane is your drawing area, in which you can edit the lines for the stretchable patches and content area. The right pane is the preview area, where you can preview your graphic when stretched.
- Click within the 1-pixel perimeter to draw the lines that define the stretchable patches and (optional) content area. Right-click (or hold Shift and click, on Mac) to erase previously drawn lines.
- When done, selectFile>Save 9-patch...
Your image will be saved with the
.9.png
file name.
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer