drawable
Get the URI of an image stored in drawable
I am adding a couple of sample items in my application so it doesn\'t look so empty when the user look at it the first time. The list with the sample items should have an image and the image I am goin[详细]
2023-03-18 07:15 分类:问答How can I load an image from drawable folder?
I\'ve the file name of an image stored in the drawable? how can I open it? I want to know the path? the file name is String imageFileName = \"image.png\"[详细]
2023-03-18 07:13 分类:问答set Different drawables to Group and Child list when clicked
I am searching around about expandable list view in android. so, we know that there\'s group-list and child-list...[详细]
2023-03-17 20:38 分类:问答How to change annimation drawabale
Currently I work on a project where I need to change an animationdrawable using a handler, so here is my code[详细]
2023-03-17 14:21 分类:问答Android mapView: rotate overlay item
I want to rotate an overlay item (a drawable) according to my bearing onLocationChanged. How do I do this? I tried with the drawable, with the itemizedOverlay, and with the overlayItem, but no success[详细]
2023-03-17 06:03 分类:问答Update transition drawable with new images during program execution?
In the application开发者_高级运维 I\'m making, I\'d like to have a background in the main menu that crossfades between different images. The application also allows for the user to take photos. I want[详细]
2023-03-17 01:43 分类:问答Is it possible to "Draw" a string to a canvas?
I\'ve largely been using drawable resources to a canvas using a method similar to this: image.setBounds(x, y, ( x + 100 ), ( y + 100));[详细]
2023-03-15 13:04 分类:问答Setting an ImageView as a MapOverlay
I currently am using a drawable as a Mapoverlay after following this tutorial . http://developer.android.com/resources/tutorials/views/hello-mapview.html[详细]
2023-03-14 22:49 分类:问答Android Gallery Starting Selection Drawable
I have a Gallery that I\'ve set up with this type of thing.Works great, except on initial load.The initial gallery item isn\'t \"selected\" according to the drawable.Sliding the gallery back and forth[详细]
2023-03-14 10:32 分类:问答How to set borders for a drawable that repeats horizontally?
I\'m using a layer-drawable and inside it I have one BitmapDrawable that repeats only horizontally. But I need to add borders for this drawable.[详细]
2023-03-14 06:01 分类:问答