drawable
Possible to change Window background colour of a Dialog without a theme?
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[详细]
2023-04-09 22:22 分类:问答Defining XML Parent Style of Gradient / Shape / Corners
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[详细]
2023-04-09 21:05 分类:问答Setting alpha on a BitmapDrawable in XML
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开发者[详细]
2023-04-08 23:11 分类:问答How to access res/drawable/"folder"
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.[详细]
2023-04-08 14:38 分类:问答Android Issue with Resource after upgrade.
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[详细]
2023-04-07 17:01 分类:问答What are the advantages of FastBitmapDrawable compared to Bitmap?
package com.android.launcher; import android.graphics.drawable.Drawable; import android.graphics.PixelFormat;[详细]
2023-04-07 08:43 分类:问答Error inflating animation resource
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\">[详细]
2023-04-06 18:50 分类:问答Android: Milestone and Galaxy have same resolution / dpi qualifiers for drawable, how to differentiate?
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[详细]
2023-04-06 18:20 分类:问答Android - Best way to overlay a play button on an image/thumbnail
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..[详细]
2023-04-06 07:08 分类:问答Ways of loading bitmap/drawable to view async in android
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[详细]
2023-04-05 15:31 分类:问答