> another thing is, when titlebar is sown, can i show the title text at > the center ?
Extending the default theme and overriding WindowTitle's android:gravity doesn't work -- there's an issue about that: http://code.google.com/p/android/issues/detail?id=4395 One workaround is to replace the title using setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title). The custom_title with gravity=center works. -- 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