public ImageView addNewImageView(int pResID, float pScale_Left, float pScale_Top, float pScale_Width, float pScale_Height, boolean pDuplicateState) {
    """
	adds new ImageView with (ResourceID, Left, Top, Width, Height, DuplicateState) parameters
	sets Image of ImageView with ResourceID parameter
	@param pResID
	@param pScale_Left
	@param pScale_Top
	@param pScale_Width
	@param pScale_Height
	@param pDuplicateState
	@return created ImageView instance
    """
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inPreferredConfig = Bitmap.Config.ARGB_8888;
        return addNewImageView(
                new BitmapDrawable(getResources(), BitmapFactory.decodeResource(getResources(), pResID, options)),
                pScale_Left, pScale_Top, pScale_Width, pScale_Height, pDuplicateState);
    }
public ImageView addNewImageView(int pResID, float pScale_Left, float pScale_Top, float pScale_Width, float pScale_Height, boolean pDuplicateState) {
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inPreferredConfig = Bitmap.Config.ARGB_8888;
        return addNewImageView(
                new BitmapDrawable(getResources(), BitmapFactory.decodeResource(getResources(), pResID, options)),
                pScale_Left, pScale_Top, pScale_Width, pScale_Height, pDuplicateState);
    }
public ImageView addNewImageView ( int pResID , float pScale_Left , float pScale_Top , float pScale_Width , float pScale_Height , boolean pDuplicateState ) { BitmapFactory . Options options = new BitmapFactory . Options ( ) ; options . inPreferredConfig = Bitmap . Config . ARGB_8888 ; return addNewImageView ( new BitmapDrawable ( getResources ( ) , BitmapFactory . decodeResource ( getResources ( ) , pResID , options ) ) , pScale_Left , pScale_Top , pScale_Width , pScale_Height , pDuplicateState ) ; }
adds new ImageView with (ResourceID, Left, Top, Width, Height, DuplicateState) parameters
sets Image of ImageView with ResourceID parameter
@param pResID
@param pScale_Left
@param pScale_Top
@param pScale_Width
@param pScale_Height
@param pDuplicateState
@return created ImageView instance
adds new ImageView with ( ResourceID Left Top Width Height DuplicateState ) parameters sets Image of ImageView with ResourceID parameter