Как установить размер текста оповещения в диалоговом окне оповещения

Предупреждающее сообщение по умолчанию слишком велико для определенных устройств с маленькими экранами, и я хочу установить для него настраиваемый дп

Мое предупреждение примерно так

OnClickListener addNewItemListener = new OnClickListener() {
                public void onClick(View v) {
                    AlertDialog.Builder alert = new AlertDialog.Builder(
                            MyActivity.this);

                    LinearLayout myLayout= new LinearLayout(MyActivity.this);
                    myLayout.setOrientation(LinearLayout.VERTICAL);

                    alert.setTitle(R.string.add_title);
                    alert.setMessage(R.string.add_message);

                    final TextView t1 = new TextView(MyActivity.this);
                    t1.setText("Name");
                    final EditText input1 = new EditText(MyActivity.this);
                    myLayout.addView(t1);
                    myLayout.addView(input1);
                    alert.setView(myLayout);
                    alert.setPositiveButton(R.string.cancel,
                            new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog,
                                        int whichButton) {
                                }
                            });
                    alert.setNegativeButton(R.string.ok,
                            new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog,
                                        int whichButton) {
                                    try {
                                        ....
                                    } catch (RuntimeException e) {
                                        Alerts.DatiErrati(MyActivity.this);
                                    }

                                }
                            });
                    alert.show();
                }
            };

Как я могу установить размер текста сообщения с предупреждением?

Ответы на вопрос(2)

Ваш ответ на вопрос