DEV Community

Discussion on: Adding Splash Screen to Trusted Web Activity with Android’s FileProvider

Collapse
 
revaaasai profile image
Revaaasai

It is working with white background with logo .I need to change the white background .How to change the white background in the splash screen?

Collapse
 
masoudmsk profile image
Masoud Salehi

Add this to the manifest after SPLASH_IMAGE_DRAWABLE:

<meta-data
    android:name="android.support.customtabs.trusted.SPLASH_SCREEN_BACKGROUND_COLOR"
    android:resource="@color/backgroundColor" />
Enter fullscreen mode Exit fullscreen mode