I am using Android 2.3
I have an alertdialog in my app. Here the code:
final CharSequence[] items = { "Entfernen", "Auswählen",
"Editieren", "Zurücksetzen", "Abbrechen" };
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(productName);
builder.setItems(items, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int item) {...}
I have a strange problem: The Dialog always fills the whole width of my display. And therefore the text of the selectors is very large. How can I limit this? Either textsize or width of this dialog...