user-interface-samples icon indicating copy to clipboard operation
user-interface-samples copied to clipboard

DarkTheme

Open mobilekosmos opened this issue 6 years ago • 2 comments

Window background. The window background is set in values/styles.xml with the "android:windowBackground" attribute. The value is set to @color/background so if Dark Mode is enabled the splash screen is black instead of white.

I suppose this isn't actual anymore? Couldn't find that property in this repository!

mobilekosmos avatar Jan 08 '20 12:01 mobilekosmos

yes is the problem solved?

Please contact me : [email protected]

akbasemre avatar Mar 02 '20 14:03 akbasemre

Hello,

Take a look here:

Splash Theme https://github.com/gcantoni/pixeltheme/blob/master/app/src/main/res/drawable/splash_theme.xml

Pixel Activity Bg https://github.com/gcantoni/pixeltheme/blob/master/app/src/main/res/drawable/pixel_activity_bg.xml

Styles https://github.com/gcantoni/pixeltheme/blob/master/app/src/main/res/values/styles.xml#L13

Don't forget to change @color/colorPrimaryDark to your color.

gcantoni avatar Mar 04 '20 21:03 gcantoni