Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用位图的精灵动画构建了一个应用程序,它在小型设备上运行良好(使用 480X320 位图),但如果我想让它在平板电脑上运行,我需要非常大的位图(1200X800),这使得应用程序运行非常缓慢,并且还产生了内存问题。
有什么解决方案吗?
大多数平板电脑将运行 Honeycomb 或更高版本,因此您应该在清单中激活硬件加速:
android:hardwareAccelerated="true"
为了解决内存问题,您可以尝试几件事