Widget - Set Elevation

//this is code for moreblock

_view.setElevation((int)_number);

//and this is normal code
linear1.setElevation(10f);
//linear1 is LinearLayout