0
我正在使用動畫列表播放圖像序列。我可以發現,通過這種方法,我總是將大約24MB保存在Ram中。動畫列表保留內存在Ram
任何機構都可以告訴我如何在運行動畫序列後在Ram中獲取內存。
使用視頻播放動畫或png序列播放動畫是好的嗎?
如:動畫列表PNG序列XML
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false" >
<item android:drawable="@drawable/ani_avatar_00016"
android:duration="90" />
<item
android:drawable="@drawable/ani_avatar_00001"
android:duration="90"/>
. . .