[android-developers] How to improve performance for drawing with background image?
Hi,
I have done a few painting apps and they all worked fine as long as I don't use background images. Once I added background image, the painting becomes sluggish.
I have tried 2 methods of adding background image:
- use setBackgroundDrawable
- in the layout, I created an overlapping imageView with the background image using FrameLayout
Once I removed the background image, the drawing is smooth again. Is there any suggestions for me to improve the performance?
Thanks!
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home