nine-patch
NinePatchDrawable constructor ignores padding?
I am trying to construct a NinePatchDrawable at run-time from a compiled nine-patch PNG file located in the assets the folder. The problem is that the constructor seems to ignore the padding in the ni[详细]
2023-04-13 07:03 分类:问答Exception in Drawable.createFromResourceStream() -- HTC ONLY?
I\'ve released an IME (soft开发者_如何学编程 keyboard) app and I am getting crash reports from HTC phones only. Here is the stack trace:[详细]
2023-04-12 20:20 分类:问答Fully transparent activity with 9 patch corner image
In my activity I try to make it transparent and with a 9 patch corner design , but it still showing a black color at the corner there, anyone know how to get rid of it ?[详细]
2023-04-12 03:24 分类:问答Bad 'Patches' in 9-Patch File
I\'m attempting to use the Draw9Patch tool from the Android SDK, but immediately upon opening my image with Draw9Patch it shows all of my image area as a \'Bad Patch.\' I manually drew in the lines th[详细]
2023-04-05 12:50 分类:问答What's wrong with my nine patch image?
I\'m trying to make a patch 9 file for button so it looks like a drop down. The file worked fine before I tried to add the little drop down icon to the image and have it not stretch that part. This is[详细]
2023-03-29 18:01 分类:问答How to use an png-image as 9-patch-png in Android?
we wanna use png-images as background in a selector: <selector xmlns:android=\"http://schemas.android.com/apk/res/android\">[详细]
2023-03-26 21:13 分类:问答How to return to default style on EditText if I apply a background?
I just encountered with a problem that I don\'t know how to solve. It looks silly but I cannot find a way to fix it.[详细]
2023-03-25 12:55 分类:问答Bitmap to NinePatch to New Scaled Bitmap
My problem is this: I need to create a re-scaled bitmap created using a NinePatch. My current system creates a Bitmap from a NinePatch file. This then gets fed into a NinePatch (or NinePatchDrawable[详细]
2023-03-22 16:37 分类:问答Strange 9-patch behaviour
I\'ve come across an issue with a 9-patch button background and I can\'t figure out what I\'m doing wrong.[详细]
2023-03-20 22:14 分类:问答Android wont let me compile NinePatch file - file.9.png
What is the extension for 9 patch files?xxxxx.9.png? Thats what is being explained here: http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch[详细]
2023-03-19 13:15 分类:问答