I am developing an app with email sharing. The code I am using to launch the intent is standard Android ie:
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, title);
emailIntent.setType("application/octet-stream");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Hello");
context.startActivity(emailIntent);
The thing is, this launches the Gmail app in a fullscreen which I don't want. Can I make it a dialog similar to how iOS does below? If not, has it been written already, or do I need to write it myself.
Thanks