0

How do I add an activity title to my new activity to be displayed on the action bar? I already added a title when creating that new activity so where is the problem

1 Answers1

2

Under your activity declaration in your manifest.xml add the following :

 <activity
        android:name=".YourActivity"
        android:label="Your activity name">
BOUTERBIAT Oualid
  • 1,494
  • 13
  • 15