點九圖一般用在View的"android:background"屬性裡面。 如果要使用在ImageView的"android:src"屬性裡面,必須加上android:scaleType="fitXY"。