I'm doing a project in Android Studio using empty activities but in both of them the title still being the same, like in the image:
How can I change the title of the second activity to 'Form' instead of 'Agenda' as well?
I'm doing a project in Android Studio using empty activities but in both of them the title still being the same, like in the image:
How can I change the title of the second activity to 'Form' instead of 'Agenda' as well?
call
setTitle("title") onCreate, or u can set label in AdnroidManifest.xml file to activity:
<activity android:name=".ActivityName" android:label="custom label string" android:theme="theme..." > <intent-filter> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>