Android 邮件屏幕向下滚动至底部

Android 邮件屏幕向下滚动至底部,android,android-layout,email,Android,Android Layout,Email,我在调用一个邮件意图 ImageButton mail=(ImageButton)findViewById(R.id.mailgps); mail.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { setContentView(R.layout.mail); Intent e

我在调用一个邮件意图

    ImageButton mail=(ImageButton)findViewById(R.id.mailgps);
    mail.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            setContentView(R.layout.mail);
            Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);  
            // TODO Auto-generated method stub
            emailIntent.setType("text/plain");
            String emailto[]={"myemail"};
            String subject="GPS User Report";
            String body="Welcome to Samarth Reporting service.Did you see an untracked Dustbin\n.A dustbin not at the right place??\nWant to suggest placement of a dustbin here.\nGo ahead we are all ears.\n.Your present location is\n Latitude: ";
            body=body +  "28.67890" + " and Longitudes: " + "79.78965";
            body=body + "\n\nTell us more.";
            emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,emailto);
            emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,subject);
            emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,body);

            startActivity(emailIntent);  



        }
    });
这样的屏幕忽略了额外的电子邮件属性和额外的主题,然后身体出现在最底部。我如何纠正这个问题


这是一件相当愚蠢的事情。 正如之前我使用的另一个AVD一样,我设置了电子邮件客户端,因此它工作得很好。但在新的AVD上,我忽略了这一点。因此,首先设置电子邮件客户端,然后调用intent。 尽管如此,系统应该有更好的方法来处理这种情况,而不是显示一个奇怪的空白屏幕