Android设计中的.9.png
16lz
2021-12-04
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.
更多相关文章
- Android界面设计之:使用水平视图切换
- AndroidDevTools收集整理Android开发所需的Android(安卓)SDK、开
- 王家林的81门一站式云计算分布式大数据&移动互联网解决方案课程
- Android设置android:clipChildren达到的特殊UI设计效果
- Android中UI设计的一些技巧!!!
- Android(安卓)Studio 官方示例源码地址
- android app的类响应式设计
- Hello, Android(安卓)深入(一)
- Android(安卓)Wear - Design Principles for Android(安卓)Wear(