gmailへのリンクが1つあります。リンクをクリックすると、gmailで2つ以上のウィンドウが開きます。たぶんこれが主な問題「Intent.ACTION_SEND」だと思います。
前もって感謝します。
// TextView button for Email address
emailLink.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
//email address
String emailAddress = "some_email@gmail.com";
String subject = "Write a topic";
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_EMAIL, new String[]{emailAddress});
intent.putExtra(Intent.EXTRA_SUBJECT, subject);
intent.setType("text/plain");
startActivity(intent);
return true;
}
});