I've checked with all default alert dialogue box via Android TalkBack. Default Android Talkback behaviour is that it reads all contents(non stop) in dialogue box. Is there any way I can customise it according to my need. For example :
AlertDialog alertDialog = new AlertDialog.Builder(AlertDialogActivity.this).create();
alertDialog.setTitle("Alert Dialog");
alertDialog.setMessage("This is my alert dialog");
alertDialog.setButton("OK", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
Toast.makeText(getApplicationContext(), "You clicked on OK", Toast.LENGTH_SHORT).show();
}
});
alertDialog.show();
When dialog appears, it reads automatically "Alert Dialogue. This is my alert dialogue. OK." But I want to control it, like it should read only "Alert Dialogue" or "This is my alert dialogue" etc.
And while tapping on "OK" it reads only "OK", instead "OK button".