Please help: runtime dialog is larger than phone screen size

How to adjust its size to fit the screen? Thank you very much.