标签:
ViewTreeObserver vto = ssidtext.getViewTreeObserver();
vto.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
public boolean onPreDraw() {
int height = ssidtext.getMeasuredHeight();
int width = ssidtext.getMeasuredWidth();
return true;
}
});
原文地址:
http://www.2cto.com/kf/201410/341592.html
标签:
原文地址:http://my.oschina.net/u/1389206/blog/371970