I have simple AlertDialog with following piece of code
AlertDialog.Builder dialog = new AlertDialog.Builder(con);
dialog.setTitle(title);
dialog.setMessage(strEula);
dialog.setPositiveButton(" OK ", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.dismiss();
}
});
dialog.show();
But i have huge message i.e. it has complete EULA(End Used License Agreement) text. Thus, it has around 1000 lines in it. So whenever i show this dialog it takes around 15 second to render and became active to handle user interaction.
Please, let me know if there is any way to minimize these 15sec lag. Thanks