Moon Sculptor
Moon Sculptor

Reputation: 97

Dark Mode XML (Night) on jetpack compose android studio missing

I only have 1 Theme file in values. and I want to change the status bar when in dark mode to different color. but no clue where to do it since i only know how when there are 2 files

Upvotes: 1

Views: 800

Answers (1)

Nawaf
Nawaf

Reputation: 141

The solution to the status bar color problem :

1 - go to the website and do all first three steps: the link: https://material.io/develop/android/docs/getting-started

I used this version: 1.7.0-beta01

2 - go to the themes.xml and change the parent to "Theme.MaterialComponents.DayNight.NoActionBar"

3 - do the same images here:

enter image description here

enter image description here

Upvotes: 4

Related Questions