When is View.onMeasure() called?
问题 When is View.onMeasure(int widthMeasureSpec, int heightMeasureSpec) called? I have an Activity that needs to perform an action after onMeasure has been called. My question is the same as the unanswered question posted here. The View documentation states that onMeasure is called when requestLayout() is called, which is apparently called by a view on itself when it believes that is can no longer fit within its current bounds. However, this doesn't tell me when my activity can assume that my