Skip to content

eaglesakura/displayinfo

Repository files navigation

What is this Library?

DisplayInfo is a library for getting display information.

Example

val info = DisplayInfo.newInstance(context)
Log.d("DisplayInfo", "${info.widthPixel} x ${info.heightPixel}, ${info.dpi} dpi")

How to Install

// /app/build.gradle
dependencies {
    implementation 'io.github.eaglesakura.displayinfo:displayinfo:+'
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages