/**
* Call this when something has changed which has invalidated the layout of this view.
* This will schedule a layout pass of the view tree.
*
* 我们可以理解为重新布局了一下view;
* 用途:有时我们在改变一个view 的内容之后 可能会造成显示出现错误,
* 比如写ListView的时候 重用convertview中的某个TextView 可能因为前后填入的text长度不同而造成显示出错,
* 此时我们可以在改变内容之后调用requestLayout方法加以解决。
*/
requestLayout();
* Call this when something has changed which has invalidated the layout of this view.
* This will schedule a layout pass of the view tree.
*
* 我们可以理解为重新布局了一下view;
* 用途:有时我们在改变一个view 的内容之后 可能会造成显示出现错误,
* 比如写ListView的时候 重用convertview中的某个TextView 可能因为前后填入的text长度不同而造成显示出错,
* 此时我们可以在改变内容之后调用requestLayout方法加以解决。
*/
requestLayout();