Hi all! I have to load some Nine Patch Drawables from a server. But I always get a padding of (0,0,0,0), regardless what's stored in the Drawable.
My code: Bitmap bitmap = BitmapFactory.decodeFile(filename); NinePatchDrawable drawable = new NinePatchDrawable(res, bitmap, bitmap.getNinePatchChunk(), name); image.getPadding(pad); returns true and for "pad" (0,0,0,0). Am I doing something wrong? I also tried to set the padding manually using the info from getNinePatchChunk(). But NinePatchChunk is not very well documented -> almost useless. regards, max -- 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