LayoutParams layoutParams=p_w_picpathView.getLayoutParams();

layoutParams.width=100;

    layoutParams.height=200;

p_w_picpathView.setLayoutParams(layoutParams);