点九图一般用在View的"android:background"属性里面。 如果要使用在ImageView的"android:src"属性里面,必须加上android:scaleType="fitXY"。