lotusdesignz
lotusdesignz

Reputation: 31

Why does my Activity in Android Studio have different text color in the code compared to others?

enter image description here

enter image description here

In the first photo, the variable names are supposed to be purple. The Override and onCreate are supposed to be yellow, like the rest of my activities. Why is it different?

Upvotes: 0

Views: 189

Answers (1)

Aryan Bisht
Aryan Bisht

Reputation: 187

Try to rebuild your project and if this still doesn't work then go to Files -> invalidate cache and restart-> cache and Restart. This will help u, if still it doesn't work ping me.

Upvotes: 1

Related Questions