I am trying to create a dialog box, with a title, body(message), ok -option. 
How can i separate them line by line (I mean divided by lines in three parts)?
This is the code I'm using:
public void dialog_vhe(View view){
    String button_details;
    button_details = ((Button) view).getText().toString();
    AlertDialog.Builder builder2 = new AlertDialog.Builder(this);
    builder2.setMessage("   You can use either your garnt number or TRN.\n" +
            "   The Visa Grant Number can be found on your visa grant notification.\n " +
            "   The Transaction Reference Number can be found in your ImmiAccount and on any correspondence from the department. ")
            .setCancelable(false)
            .setNegativeButton("Ok", new DialogInterface.OnClickListener() {
                @Override
                public void onClick(DialogInterface dialog, int which) {
                    dialog.cancel();
                }
            });
    AlertDialog alert2 = builder2.create();
    alert2.setTitle("REFERENCE NUMBER");
    alert2.show();
    setContentView(R.layout.activity_visa_holder_enquiry);
}
 
     
    