Does anyone have an idea of an alternative to using the new (as of api level 8) Dialog.setOnShowListener. I would like to adjust some things in the calling activity based on the measured height of the dialog, but in order for that to work, I need access to the measured height of the dialog. It works fine in an OnShowListener() callback, but I'd like to find a solution that will work on api level 7.