我目前使用的是扩展约束布局的自定义视图,但它不会触发视图onApplyWindowInsets(WindowInsets insets)中覆盖的方法,也不确定丢失了什么。defStyleAttr) {
//This method one not get called return super.onApplyWindowInsets(<
public class TestFrame{ JFrame frame = new JFrame(); frame.setSize(new Dimension(insets.right + insets.left + 400, insets.bottom+ insets.top + 400));
System