Code example for BitmapDrawable

Methods: getIntrinsicWidth

0
        return mDrawable.getIntrinsicHeight();
    } 
     
    @Override 
    public int getIntrinsicWidth() { 
        return mDrawable.getIntrinsicWidth();
    } 
     
    /** 
     * Returns the underlying {@link BitmapDrawable}. 
     * @return An instance of {@link BitmapDrawable} 
     */ 
    @Deprecated 
    public BitmapDrawable toBitmapDrawable() {
        return mDrawable;
    }   
     
    /** 
     * Returns the underlying {@link BitmapDrawable}. 
     * @return An instance of {@link BitmapDrawable} 
     */