Install NotchScreenTool via Gradle
masterTo use NotchScreenTool in your Android project, you must first add the JitPack repository to your project-level build.gradle file, and then add the library dependency to your module-level build.gradle file.
// In project-level build.gradle
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
// In module-level build.gradle
dependencies {
implementation 'com.github.smarxpan:NotchScreenTool:0.0.1'
}