Android 4: 設置背景為系統wallpaper
- <style name="Theme.Holo.Wallpaper">
- <item name="android:windowBackground">@android:color/transparent</item>
- <item name="android:colorBackgroundCacheHint">@null</item>
- <item name="android:windowShowWallpaper">true</item>
- </style>
直接用Theme_Holo_Wallpaper或者在自定義的Theme中增加這3個item