/** * We use this to resize our alert view. doing it at any other time has weird effects because of * the lifecycle */ @Override public void layoutSubviews() { super.layoutSubviews(); // resize the control setFrame(makeRect(getFrame().origin.x, getFrame().origin.y, getFrame().size.width, 120)); }