drawable
which is the better way to keep and load images at run time in android?
I have up to 200 large scale fixed images and i need to handle it at run time. [Consider performance and apk size][详细]
2023-03-20 03:02 分类:问答Combine image and text to drawable
I want to create a drawable, which consists of a map pin(bubble) and some text. The bubble should be in the background and the text in the foreground.[详细]
2023-03-20 01:33 分类:问答My 'body' class in SFML: How does it rotate member shapes correctly on its own?
Hey so i\'ve made a \'body\' class, which inherits from sf::drawable in SFML that holds shapes together so i can form more complicated shapes and figures. I found i had to do a few updates on each ind[详细]
2023-03-19 12:44 分类:问答Android: Is it possible to make a list with drawables, 1 on top and others underneath?
I\'d like to know, if it is possible to make a custom list in android, which will consist of items with text and images.[详细]
2023-03-19 11:27 分类:问答Android gallery drawable error
I am trying to implement the android gallery example from http://developer.android.com/resources/tutorials/views/hello-gallery.html[详细]
2023-03-19 06:38 分类:问答Weird behavior of ListView item and state selector background drawable
I am having some very strange ListView behavior when using a StateListDrawable as the background.I\'ve tried to follow the answer to this post, as I wasn\'t getting the state_checked state to work, bu[详细]
2023-03-19 04:14 分类:问答Expandable ListView onGroupExpanded & onGroupCollapsed
guys i have 3 groups for my expandable listview, i try to change the color of each group respectively, when they\'re expanding and back to normal color when they\'re collapsing...[详细]
2023-03-19 02:24 分类:问答declaring an animation on a drawable in XMl in android
Is there a way to set an animation on a drawable in XML in android? My specific case: I have a level-list drawable where 1 level of that list should rotate continuously. I can do it fine in code when[详细]
2023-03-18 14:37 分类:问答is there any way to find resource Id of drawable
Is there any way to get the Drawable resource ID? For example, I am using an ImageView and I may initially use icon.png as its image but later I may change the image to icon2.png. I want to find out u[详细]
2023-03-18 14:30 分类:问答How can I make a diamond ShapeDrawable?
I want to make a drawable shaped like a diamond that I can draw in an xml resource. I am using drawable shapes as backgrounds for textviews, how can I define this type of shape? Should I use the a Rot[详细]
2023-03-18 13:22 分类:问答