set progress view with customized shape.