标签:
ViewTreeObserver vto = tv.getViewTreeObserver(); vto.addOnGlobalLayoutListener(new OnGlobalLayoutListener() { public void onGlobalLayout() { heigh = appDescription.getHeight(); tv.getViewTreeObserver().removeGlobalOnLayoutListener(this); } });
标签:
原文地址:http://www.cnblogs.com/netcorner/p/4930391.html