Change the text of the title bar in the activity

Asked 1 years ago, Updated 1 years ago, 112 views

When you create an application with a new project in Android Studio, you basically have the title bar at the top.
I'd like to change the title bar at the top to "Hi, I'm Android." What should I do?

android actvitiy title label

2022-09-22 22:14

1 Answers

You can go to the Android manifest file You can change the value of the activity's android:label property to "Hi, I'm Android."

I went to the activity class and I went to the onCreate You can also use the setTitle() method to say setTitle("Hello, I'm Android.");


2022-09-22 22:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.