drawable
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 分类:问答Android: Maintaining image resource size
I know there are tons of questions on this topic, but I tried searching through tons of \"android dpi\" posts and read the online documentation but haven\'t found the exact question that I have.[详细]
2023-03-26 10:32 分类:问答Android XML Viewer failing
I\'ve been having this problem for a while: Here is my header.xml <?xml version=\"1.0\" encoding=\"utf-8\"?>[详细]
2023-03-25 21:36 分类:问答Android: Image Button icon and text
I\'m having trouble with the layout of my navigation bar. I was hoping to have an icon with text underneath it all centered in the button. Currently when the icon is drawn in it pushes the text off th[详细]
2023-03-25 14:39 分类:问答LayerDrawable not working properly in android
I went through the LayerDrawable tutorial from developer.android.com and wrote this code for myself :[详细]
2023-03-25 14:23 分类:问答Android Drawable Drawing Performance?
In my view I have a simple ARGB drawable that takes about 2ms to draw but I can draw the same file as a bitmap in under 0.5ms (just some quick code, I 开发者_如何学运维can\'t really consider it an opt[详细]
2023-03-25 06:34 分类:问答Problem with custom View using LayerDrawable not displaying anything
I\'m having an issue while extending the View class, the XML works properly as i\'ve tried it with an ImageView, but not with my custom class...[详细]
2023-03-24 19:39 分类:问答How to access image resource from res/drawable folder in native code?
I have been looking for some method in order to access resources like images stored in res/drawable folder. Actually I am s开发者_StackOverflow中文版earching for some[详细]
2023-03-23 11:16 分类:问答"setImageDrawable(Drawable.createFromPath)" get image from web server Android
I am using the the gridView example from the developer.android.com site. But they are using images saved in the res/drawable folder. I want to try and set the images to come from my web server.[详细]
2023-03-23 08:04 分类:问答Which is better to use in Android, a 1px*1px .png image or a drawable .xml with a solid rectangle?
Which is better to use in Android and why? 开发者_开发技巧 Load a .png file that is 1x1 and has, obviously, one pixel of one color (ie #000)[详细]
2023-03-23 00:30 分类:问答