I'm using Theme.Light in an app and noticed that Theme.Light automatically sets the title-text of the title-bar. The title-text is set to the android:label of MainActivity. However, I want the title to be "New Text", not the label attached to MainActivity.
Now, it is possible to change titlebar-text with a couple of approaches 1. Change android:label (of the main activity) to "New Text" in the manifest file 2. Programmatically set the title-bar text to "New Text". The first approach has some problems. The second approach works a bit late, the original title-text is flashed before it gets overwritten by "New Text". So this is a bad user experience. It seems like there should be an easy way to create a new style that inherits from Theme.Light, but overrides the title-text. Setting the style's android:label or android:title properties don't change anything, setting the android:windowNoTitle property to true eliminates the entire titlebar. Does anyone know how to create a new style that inherits from Theme.Light and displays the title-bar, but overrides the title-text -- 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

