When calling  progressDialog = ProgressDialog.show(this, null, null, true); 
usually the developers wants to only show the progress indication image, and 
usually would it expect to be centered within the window (at least from regular 
UI design point of view).
However, the image is too far left, it seems that some padding/margin on the 
right hand side is still being calculated in for (optional) text on the right, 
although we're not passing any text as parameter.

Screenshot:
http://android.googlecode.com/issues/attachment?aid=8651271940249741441&name=progressIndicator.png&token=2d27341b454c113d649fed256b6cc6f9&inline=1

I created a feature request for it at:
http://code.google.com/p/android/issues/detail?id=9697
So we don't need to create a custom dialog only in order to have the progress 
indicator being centered by default.

The only way to achieve a progress dialog with just a progress indicator image 
centered in the middle now is by writing a custom dialog, which I now did.
But is there any other way or parameter I might have overlooked that I could 
apply to the standard progress dialog? Please let me know your idea.


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

Reply via email to