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

Draw9patchUsage:

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.

  1. From a terminal, launch thedraw9patchapplication from your SDK/toolsdirectory.
  2. 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.

  3. 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.
  4. When done, selectFile>Save 9-patch...

    Your image will be saved with the.9.pngfile name.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)WiFi系统
  2. Android(安卓)四大组件(Activity、Servic
  3. Android(安卓)Fragment 体系 源码追踪笔
  4. Android提高十七篇之多级树形菜单的实现
  5. Android开发获得多媒体信息
  6. 自定义模态提示框
  7. Android查看内存使用的方式(Running servi
  8. Android(安卓)Service的使用
  9. TextView字体加粗 ---Android基础篇——
  10. Android——自定义控件(一)