Splash screen helper

This is a small, free, lightweight Android library that is adding a splash screen to any application. I got the idea for it when I couldn’t find a similar library with the functionality and customization option that I needed. All you have to do is to implement it and give it some images, text or video. 

If you have some ideas about what should I add or change, or maybe you have some issues with this library, please let me know. I will be happy to hear your feedback.

Implementation

Gradle

implementation 'com.kovacivan:SplashScreenHelper:1.3'

Maven

<dependency>
    <groupId>com.kovacivan</groupId>
    <artifactId>SplashScreenHelper</artifactId>
    <version>1.3</version>
</dependency>

Usage

Image and text underneath it:

SplashScreenHelper(this)
    .logoResource(R.drawable.your_logo)
    .setText("Some text here")
    .start()

If you want to add sub text underneath added text:

SplashScreenHelper(this)
    .logoResource(R.drawable.your_logo)
    .setText("Some text here")
    .setSubText("Some other text")
    .start()

If you want to add image instead of text:

SplashScreenHelper(this)
    .logoResource(R.drawable.your_logo)
    .bottomImageResource(R.drawable.some_image)
    .start()

You can set video as a splash screen

SplashScreenHelper(this)
    .videoResource(R.raw.some_video)
    .start()

Leave a Reply

Your email address will not be published. Required fields are marked *