I got a problem with a really, really simple AlertDialog that creates my About dialog with three choices. Have a look at how it looks like on an emulator, my HTC Sensation and a Galaxy S2:

The dialog is created by this (pseudo) code:
builder.setPositiveButton("OK", null);
builder.setNeutralButton("Disclaimer", [...]);
builder.setNegativeButton("Jetzt zum Market", [...]);
It is so simple, I never thought about maximum text lengths differing so much on different devices! Plus: I think Samsung’s tearing apart of “Disclaimer” is such a mess, not to talk about the whole word “Market” missing.
How am I supposed to create a simple AlertDialog when this already is a problem?
Any clues? Think of a device that sets such a large font that even “Cancel” does not fit any more! sigh How can I prevent such things?
Thanks for advices!!
The answer from Drew DeNardo is almost correct.
The myDialog.getButton(BUTTON_POSITIVE) is returning null because it was not been created.
You need to override onShow: