KitsuneFolk / SplashScreen

Android Library with modified androidx.core:core-splashscreen:1.0.1 to not show actionbar on android 12+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SplashScreen

This is a repository that contains modified files from androidx.core:core-splashscreen:1.0.1.

Android CI License

Modifications

  1. Removed the following lines to resolve the issue on android 12+ when the statusBar and navigationBar colors can't be set from themes.xml:
    (activity.window.decorView as ViewGroup).setOnHierarchyChangeListener(hierarchyListener)
  1. Added the following lines to the file v31\styles to remove the unwanted actionbar on android 12+:
     <item name="android:windowActionBar">false</item>
     <item name="android:windowNoTitle">true</item>

How To Use

  1. Add the JitPack repository to your build file
	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  1. Add the dependency
	dependencies {
	        implementation 'com.github.MrRuslanYT:SplashScreen:Tag'
	}

About

Android Library with modified androidx.core:core-splashscreen:1.0.1 to not show actionbar on android 12+

License:Apache License 2.0


Languages

Language:Kotlin 100.0%