I\'ve a full set of images at the various different pixel densities, and I need to put bitmap resources into the drawables folder (at MDPI) to use as default resources (to prevent crashing on pixel de
Android supports three image formats with this rating: PNG (preferred), JPG (acceptable) and GIF (discouraged).
When using mutate on Android 1.6 with list state Drawable I got always a Null Pointer Exception. It works flawlessly on higher Android versions. I am using the default android list_selector_background
I\'m trying to move a BitmapDrawable in a custom view. It works fine with a ShapeDrawable as follows:
So I am using my main.xml as a view in my program but I still need to be able to add bimaps/drawables to the screen through programming. Is there any way to do that?
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
This is rather a funny problem I have ever come across, I have a table layout with 9 image buttons, 3 per row. Every ImageButton has a different image associated with it. I have set the background of
I\'m using a TabLayout and I have custom images for the tabs that I am using, but for the life of me I can\'t figure out how to change the color or even the image of the divider between the tabs and t
Is it possible to repeat a drawable in an ImageView? I manage to repeat my drawable as a divider in a ListView, but not as an ImageView. Here is my repeated image definition:
fellow programmers! I\'m new... hope you can help! So. I\'m currently developing an application that allows users to choose four different images from a set of images that I have saved in my res/draw