How To Change App Name Color In Android. Step 2 − add the following code to res/layout/activity_main.xml. The “rename shortcut” dialog box displays.
The “rename shortcut” dialog box displays. One for each color respectively). You can change the name of your app by making changes in your strings.xml, your app name and make sure that it is linked to the label attribute of application tag in your manifest file.
It will not change the color of the status bar is below api level 21 but the rest code will work well.
As you can see from the code i have mentioned color codes in hexa format. Now, it will show the package in different parts. In order to create the color resource file, do right click on the res folder, click on new and select android resource directory. The “rename shortcut” dialog box displays.