The first image is from a Galaxy Note, the second is from a Droid 3.
Both of them produced from the below code.

The dialog on the Droid 3 has a significant amount of extra, ugly
space. This space is even uglier on more complex dialogs. Is there any
way to prevent it?

public void onCreate(Bundle bundle)
    {
        super.onCreate(bundle);

        TextView tv = new TextView(this);
        tv.setText("Hello!");

        Dialog dialog = new Dialog(this);
        dialog.setContentView(tv);
        dialog.setTitle("Hi!");

        dialog.show();
    }

http://i.stack.imgur.com/VKmVC.png
http://i.stack.imgur.com/wNuM1.png

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to