Skip to content

Repository files navigation

Dark WebView

This library helps you to set your WebView background to dark in Dark Theme mode.

Dependency

Add the dependency to your app level build.gradle

Gradle Groovy DSL

dependencies {
	implementation 'io.github.kakyire:webview-theme:1.0.0'
}

Gradle Kotlin DSL

dependencies{
implementation("io.github.kakyire:webview-theme:1.0.0")
}

Implementation

In your activity or fragment add this single line of code

Implementation

webView.setWebViewDarkTheme()

About

Webkit library to set WebView dark theme in Android

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages