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
Asked
Active
Viewed 283 times
0
-
where is your code? – techspider Jun 10 '16 at 14:25
-
Also you can do that programatically like setTitle("Title!"); – Burak iren Jan 04 '17 at 12:36
1 Answers
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