nine-patch
Android What is wrong with this 9 patch?
Hello, see above for my开发者_运维百科 9 patch image. It is created using the 9 patch editor from Android tools. I have multiple issues:[详细]
2023-02-15 21:48 分类:问答Android: patch 9 file ruins main.xml
I have a file file1.png in my drawable folder. In main.xml I have an ImageView and display this file via the src property. That works fine. Now I copy a file file2.9.png into the drawable folder, but[详细]
2023-02-15 08:13 分类:问答Creating Nine (9) Patch png files with Gradients
I want to create a nine patch button background with a gradient for my android app. I was wondering how gradients work. I would think that the os would have to figure out how to apply the gradient as[详细]
2023-02-13 16:47 分类:问答Create a NinePatch/NinePatchDrawable in runtime
I have a requirement on my Android application that parts on the graphics should be customizable, by retrieving new colors and images from the server side. Some of these images are nine-patch images.[详细]
2023-02-12 09:06 分类:问答Problem with 9 patch image as background
I have a list view structure, with Relative layout that uses alternating background images for odd/even elements. I\'m trying to set[详细]
2023-02-12 02:10 分类:问答Edit android ninepatch png programly (change color)
Is there a way to change color of a ninepatch image(png) programly on android ? I know how do this with bitmap but not with ninepatch...[详细]
2023-02-09 05:52 分类:问答Padding arround textview with nine patch background have no visual effect
Im trying to开发者_C百科 create toast like control based on textview, and i found very strange behavior of textview in case when it have nine patch drawable as background.[详细]
2023-02-07 14:49 分类:问答Transparent 9patch image: line showing through
I got a transparant 9patch image which has the 9pat开发者_如何转开发ch lines showing trough. This is the output:[详细]
2023-02-06 20:25 分类:问答background picture for textview
I have a textview and a nine-patch image. Assigning this image in the xml editor to the tag \"background\" works as desired. Now I want to set this image dynamically in the coding, I thought[详细]
2023-02-03 00:32 分类:问答how does a 9patch png work in android apps
In a 9patch png, there are black edges in its four sides, but there is usua开发者_开发百科lly difference between the left to right, and the up to down side. Why? How does this difference impact?One of[详细]
2023-01-31 18:27 分类:问答