为什么80%的循环农户不能成为架构师?
displaymetricsdm=newdisplaymetrics (; //当前显示的接口大小getwindow manager (.getdefaultdisplay ) (.getmetrics ) ) DM ); int width=dm.widthPixels; int height=dm.heightPixels; //当前接口的高度linear layout.layoutparamslinearparams=(linear layout.layout params ) wv.getLayoutParams; linearParams.height=height; wv.setlayoutparams (linear params;
转载于:https://my.oschina.net/neo 600/blog/63326