これはちょうど最近注目された奇妙なケースです。再起動が必要なプロセスを完了するようユーザーに警告するために、AlertDialogを表示するアクティビティがあります。私のデバイス(Galaxy Nexus)ではうまく表示されます。最近、他の多くのデバイスでは、切断される前にいくつかの言葉しか表示されていなかったことが私の注目を集めました。Android AlertDialogが特定のデバイスでsetMessage全体を表示しない
AlertDialog.Builder builder = new AlertDialog.Builder(ReportActivity.this);
builder.setTitle("Finished!");
builder.setMessage("Due to the different storage mediums across the various Android devices this app may eb used for, "
+"I've decided not to force a media rescan because depending on your device, "
+"it may or may not even be possible. "
+"This means that you will need to reboot your device or unmount/mount your sdcard in the Settings app before most players will pull in all the information for the songs."
+"\n Please reboot or rescan before claiming that the app did not work.")
.setCancelable(false)
.setPositiveButton("Dismiss", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.dismiss();
lv1.setAdapter(new ResultsAdapter(ReportActivity.this, results));
}
});
AlertDialog alert = builder.create();
alert.show();
関連:http://stackoverflow.com/questions/9795347/long次の行をオンにする - しかし、gb-and-below/9847862 – Blundell