Re: 回复: [android-developers] Re: Probl em with setTheme() method

2009-06-10 Thread m...@themarkpatel.com

This is definitely still an issue in Cupcake.  Thought setting the
theme via xml is typically an acceptable approach, there are
situations where that can be cumbersome (for example, an Activity
class that gets sub-classed in several applications).  Besides, it's
just bad form to have an API that doesn't do what it claims to do. ;-)

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Bitmap references used by serialized Picture objects

2011-08-08 Thread m...@themarkpatel.com
Hi,

I'm using an android.graphics.Picture object to store a series of
drawing operations including a drawBitmap call, and then saving the
Picture object using the writeToStream method so that it can be
quickly loaded the next time it's needed.

I'm able to read the serialized picture object using
Picture.createFromStream and render it, but the bitmap doesn't show up
when the Picture is drawn.  I'm assuming this is because the
serialized Picture object data doesn't include the bitmap pixel data,
just references to it.

Is there a way to provide a de-serialized Picture object with the
Bitmaps that it should use?  Or is there a way to include the bitmaps
in the serialized data?

Thanks,

Mark

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en