所以筆記一下
一樣還是在 drawable 裡建立一個 xml 檔案
這次的 root 標籤要選 bitamp
還是看 code 比較快:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_repeat1"
android:tileMode="repeat"
android:dither="true"
/>
其他的應該就不用再多說了
收工
沒有留言:
張貼留言