Android changing Theme colours

iamVariable
Nov 11, 2022

--

As Google has changed few small things to the project structure recently, you will find different colors.xml file than the one shown in the previous lesson.

In the new project structure, we are defining colours in the corors.xml file and use then in two(day and night) theme files.

Here is a simple solution to get the similar colours as shown in the lesson.

Changes in Colors.XML

Changes in themes.xml

Changes in night/themems.xml

For more details regarding the app themes, kindly follow the link given
https://developer.android.com/develop/ui/views/theming/themes

Happie coding 😊

--

--

iamVariable
iamVariable

Written by iamVariable

Experienced Mobile Application Developer skilled in the full software development lifecycle, including analysis, design, development, and deployment.

No responses yet