Code example for BitmapDrawable

Methods: getBitmap

    public void draw(Canvas canvas) {
        Paint paint = new Paint();
        canvas.drawBitmap(realBitmapDrawable.getBitmap(), 0, 0, paint);
    public void setColorFilter( colorFilter) {
        this.colorFilter = colorFilter;
    public getBitmap() {
        return bitmap;
     * Non-Android accessor that tells you the resource id that this {@code BitmapDrawable} was loaded from. This lets 
Stop searching for code, let great code find you!  Add Codota to your java IDE