Whoa, that’s all right!?
Your question is very clear, but if you want to rename the application itself, it will be in your AndroidManifest.xml
on the tag application
, where android:label
will define the application name (by default you will consume some string):
<application
android:allowBackup="true"
android:icon="@drawable/icone_logo"
android:label="@string/app_name"
android:roundIcon="@drawable/icone_logo_rounded"
android:theme="@style/AppTheme">
</application>
See here all parameters of the application tag: https://developer.android.com/guide/topics/manifest/application-element?hl=pt-br
If you wish to change the title of Activity itself, in ActionBar
, will be the same logic, but will be placed within each activity
declared:
<activity
android:name=".Chat.ChatActivity"
android:label="@string/titulo_activity_chat"
android:theme="@style/AppTheme.TemaPrincipal" />
See here all parameters of the Activity tag: https://developer.android.com/guide/topics/manifest/activity-element?hl=pt-br
Ah, and if you are referring to whether Toolbar is appearing or not, check your styles
if your Heme isn’t inheriting any temaNoActionBar
.
If you are <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
, with this Theme will not have the title bar.
put a print indicating where the name and code of your manifest are not showing to us, please
– Leonardo Assunção