requestLayout()

来源:互联网 发布:俄罗斯的经济知乎 编辑:程序博客网 时间:2024/05/18 02:41

void android.view.View.requestLayout()

 

public void requestLayout ()
Since: API Level 1
Call this when something has changed which has invalidated the layout of this view. This will schedule a layout pass of the view tree.

某些东西发生改变导致布局失效时调用这个方法。通过视图树调度一个布局。

原创粉丝点击