Skip to content

Example App for showcasing how to implement a dynamic nightmode settings feature on Android

License

Notifications You must be signed in to change notification settings

wdziemia/Nightmode

Repository files navigation

Nightmode

Article explaining this feature: https://medium.com/@wdziemia/night-mode-79723ced5d14

This example is a basic implementation of a dynmaic night-mode feature on Android. This example shows you how to implement night mode which can be:

  • Always Enabled
  • Always Disabled
  • React Automatically to Time & Battery Saver Enabled
  • React to Battery Saver Enabled

This example uses deprecated methods and is not production code.

License

Copyright 2019 Wojciech Dziemianczyk

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Example App for showcasing how to implement a dynamic nightmode settings feature on Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages