今天,listview 的requestLayout 无效。 最后,我用了 getWindow().getDecorView().requestLayout(); 可以了。 转载于:https://www.cnblogs.com/caoxinyu/p/10568554.html