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 😊

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

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

Write a response