Reputation: 381
I'm looking for to set the default titlebar in one layout into my app. But I'd set the Theme of the app to NoTitleBar.
How can I add by code to set/appear the titlebar? Thx.
Upvotes: 0
Views: 2253
Reputation: 20319
You can specify the theme for each activity in your AndroidManifest.xml
file:
<activity android:name="Activity1" android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
<activity android:name="Activity" android:label="@string/app_name"
android:theme="@android:style/SOMETHING_ELSE"/>
Upvotes: 1
Reputation: 80330
You can override a theme set on <application>
, by defining theme on <activity>
.
Upvotes: 0