make setContentView can take effect at any time.