Android 自定义View继承ViewGroup,通过参数计算子view的位置,改变参数后,怎么让onLayout方法重新被调用?
requestLayout().
你是指重新加载布局?
UI线程里面invalidate()一下试试