At the moment I extend a Dialog and use the constructor Dialog(Context context, int theme) to set the background colour via a theme. This dialog is an overlay, so it sits above everything showing on t
How can I define an easily reusable base shape (or gradient, or corners) in XML? I have a dozen or so drawable gradients that will be the same other than the start and end colors. I was hoping to def
I was wondering if its possible to set transparency in XML for a Drawable. In this case its setting the disabled state of a button. Instead of using a separate image i should like to create a gr开发者
On my application I have many pictures which I have grouped in folder under res/drawable. But Android dosen\'t let me access them trough \"R\". Is there a way to access those folders.
I have an app, and stupid me decided to change a resource in the file from being filename.bmp to being a png, and released an upgrade with this, I removed the .bmp from the APK and added the PNG, and
package com.android.launcher; import android.graphics.drawable.Drawable; import android.graphics.PixelFormat;
I read this example and I\'m trying to use it. I put this in drawable folder as somth.xml: <animation-list android:id=\"selected\" android:oneshot=\"false\">
I\'m developing an application that I\'m testing on both the Motorola Milestone and the Galaxy Tab 10.1. My issue is that I\'m trying to get my icons to scale properly by attaching qualifiers after th
I have an android application which can playback audio/video and show pictures. For videos I want to overlay a play button on top of the preview image and also in list views..
I\'ve got activity that has to do many things before it is visible. In proccess of loading view I have to load up bitmap/drawable that consume some time and prevents from other actions that could be d