I have a simple AlertDialog that displays different titles, but some are too long so they are truncated in the dialog. How can I adjust the fontsize of the text of the entire ListView so that it fits the screen?
AlertDialog.Builder builder = new AlertDialog.Builder(MyMaps.this);
builder.setTitle("Titles");
builder.setItems(m_Titles, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int item)
{
dialog.dismiss();
/// DO SOME ON CLICK STUFF
}
});
AlertDialog alert = builder.create();
alert.show();
A similar question exists, but that's about explaining how to change the size of a TextView.