---
title: "Android nine-patch 原理解释"
author: "dadi520"
date: "2014-04-15T23:30:02Z"
tags: []
categories: ["移动开发"]
slug: "android-nine-patch"
draft: false
lastmod: "2014-04-16T00:14:08Z"
id: 2047117
url: "https://dadi520.iteye.com/blog/2047117"
---

### Android How to use 9 patch png?

![](http://dl2.iteye.com/upload/attachment/0096/1485/fc3c7103-d810-306b-a0f6-b91cf0dd20c8.jpg)  
 

![](http://dl2.iteye.com/upload/attachment/0096/1481/8aaf81b0-e268-38e3-b9d4-ba0561a22f4f.jpg)  
 

![](http://dl2.iteye.com/upload/attachment/0096/1478/5b5717f1-6de6-3902-9168-cc4ba1ea8c37.jpg)  
 

[http://adilsoomro.blogspot.com/2012/11/android-how-to-use-9-patch-png.html](http://adilsoomro.blogspot.com/2012/11/android-how-to-use-9-patch-png.html)

 

实例切图

![](http://dl2.iteye.com/upload/attachment/0096/1490/9f9dea23-27eb-3de1-809c-eb1c62ad62d7.png)  
   
![](http://dl2.iteye.com/upload/attachment/0096/1492/fdf5496c-bf6a-3e6e-a524-eb9aa0b4d97b.png)  
 

 

### Android ListView with Speech Bubble

[https://github.com/AdilSoomro/Android-Speech-Bubble](https://github.com/AdilSoomro/Android-Speech-Bubble)