All Projects → rahuldange09 → Splashy

rahuldange09 / Splashy

Licence: Apache-2.0 license
Splash screen library for Android

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Splashy

SplashScreen
A demo project showcasing different methods to create splash screen in Android and discusses the details in the companion Medium article.
Stars: ✭ 37 (-66.96%)
Mutual labels:  splash, splash-screen, splashscreen
vue-splash
splash plugin for vue js
Stars: ✭ 120 (+7.14%)
Mutual labels:  splash, splash-screen
ReactNativeStarterKits
Agiletech React Native Starter Kits
Stars: ✭ 21 (-81.25%)
Mutual labels:  splash, splash-screen
splash-screen
Android library for getting a nice and simple SlashScreen into your Android app
Stars: ✭ 107 (-4.46%)
Mutual labels:  splash, splashscreen
React Native Splash Screen
A splash screen for react-native, hide when application loaded ,it works on iOS and Android.
Stars: ✭ 5,038 (+4398.21%)
Mutual labels:  splash-screen, splashscreen
SplashScreenExample
How to implement a Splash Screen in ReactNative
Stars: ✭ 14 (-87.5%)
Mutual labels:  splash-screen, splashscreen
DarkModeSplashScreen
A sample app for iOS and Android written in Xamarin.Forms showing how to implement a Splash Page for Dark Mode
Stars: ✭ 28 (-75%)
Mutual labels:  splash-screen, splashscreen
react-native-lottie-splash-screen
⚡ Lottie splash screen for your react native app!
Stars: ✭ 124 (+10.71%)
Mutual labels:  splash-screen, splashscreen
Bgabanner Android
引导界面滑动导航 + 大于等于1页时无限轮播 + 各种切换动画轮播效果
Stars: ✭ 4,060 (+3525%)
Mutual labels:  splash
magikarp
[Work in Progress] Splash Screens for Android
Stars: ✭ 19 (-83.04%)
Mutual labels:  splash-screen
pronhubSpider
pornhubをクロールしているWebHubBotプロジェクトの模倣、効率が遅すぎる、方法を探しています
Stars: ✭ 38 (-66.07%)
Mutual labels:  splash
Python3 Spider
Python爬虫实战 - 模拟登陆各大网站 包含但不限于:滑块验证、拼多多、美团、百度、bilibili、大众点评、淘宝,如果喜欢请start ❤️
Stars: ✭ 2,129 (+1800.89%)
Mutual labels:  splash
retropiesplashscreen
Splashscreen Randomizer for Retropie!
Stars: ✭ 19 (-83.04%)
Mutual labels:  splash-screen
BNSBoost
A simple launcher for Blade & Soul patches. Working as of the Fire and Blood game update.
Stars: ✭ 19 (-83.04%)
Mutual labels:  splash
LoginAndRegistrationWithSocialMedia
Created a Project to design login screen, registration screen, login with google ,slider navigation drawer,dashboard screen login with Facebook using Flutter
Stars: ✭ 82 (-26.79%)
Mutual labels:  splashscreen
expo-ticket-app
💎 A React Native ticket app to start learning Expo very quickly with selected libraries 📚
Stars: ✭ 87 (-22.32%)
Mutual labels:  splashscreen
SmartPutty
Multi-Tabbed PuTTY written in Java
Stars: ✭ 34 (-69.64%)
Mutual labels:  splash
godot-awesome-splash
Collection of splash screens in Godot
Stars: ✭ 137 (+22.32%)
Mutual labels:  splash
Splash-Maker
A ⚒️ for making custom SPLASH SCREENS for your device.
Stars: ✭ 32 (-71.43%)
Mutual labels:  splash
Android-Touch-Helper
开屏跳过-安卓系统的开屏广告自动跳过助手
Stars: ✭ 488 (+335.71%)
Mutual labels:  splash

Splashy

A Splash screen library for Android developed in Kotlin provides customizations and amazing animations by ease.
It works with both Java and Kotlin.

Download SDK 15+ Android Arsenal

Built with ❤︎ by Rahul Dange


image     image image

💻 Installation

Add this in your app's build.gradle file:

dependencies {
  implementation 'com.rbddevs.splashy:splashy:1.3.0'
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72+" // For JAVA Only
}

Or add Splashy as a new dependency inside your pom.xml

<dependency>
	<groupId>com.rbddevs.splashy</groupId>
	<artifactId>splashy</artifactId>
	<version>1.3.0</version>
	<type>pom</type>
</dependency>

Usage

Basic Usage

 	Splashy(this)  // For JAVA : new Splashy(this)
            .setLogo(R.drawable.splashy)
            .setTitle("Splashy")
            .show()

Advanced Usage

 override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
	
	// Call it immediately after any setContentView() for quick launch
	setSplashy()
}

fun setSplashy(){
	Splashy(this) 		 // For JAVA : new Splashy(this)
            .setLogo(R.drawable.splashy)
            .setTitle("Splashy")
	    .setTitleColor("#FFFFFF")
	    .setSubTitle("Splash screen made easy")
	    .setProgressColor(R.color.white)
	    .setBackgroundResource("#000000")
 	    .setFullScreen(true)
	    .setTime(5000)
            .show()	    
}
	    

Splashy.hide() AND Splashy.onComplete(getComplete: OnComplete)

fun checkLogin(){
	Splashy(this).setInfiniteDuration(true).show()   // For JAVA : new Splashy(this)

	// Some mock example response operation 
	Response.onResponse(object  : Response.onResponse{
		override fun onResponse(response){
			Splashy.hide()				// Hide after operation
		}

	}

	// Listener for completion of splash screen
	Splashy.onComplete(object : Splashy.OnComplete {
            override fun onComplete() {
	           Toast.makeText(this@MainActivity, "Logged In", Toast.LENGTH_SHORT).show()
            }

        })
}

🎨 Customization and Attributes

All customizable attributes for Splashy

Attribute Name Default Value Description
setLogo(resId : Int) R.drawable.splashy The main logo for Splashy
setTitle(resId : Int)
OR
setTitle(value : String)
R.string.app_name
OR
"Splashy"
The main title for Splashy either from strings.xml or string value
setDuration(timeInMs : Long) 2000 The time to show Splashy in Millisecond
setSubTitle(resId : Int)
OR
setSubTitle(value : String)
R.string.subtitle
OR
"Splash screen made easy"
The subtitle for Splashy either from strings.xml or string value. This also enables subtitle.
setInfiniteDuration(yes: Boolean) false Sets splash screen for infinite time if "true". Can be dismissed by calling Splashy.hide()
showTitle(show: Boolean) true To show title or not.
setTitleColor(color: Int)
OR
setTitleColor(colorValue: String)
R.color.black
OR
"#000000"
The color of title either resource id from strings.xml OR HEX value.
setTitleSize(titleSize: Float) 40F The size of title text in float.
setTitleFontStyle(fontName : String) "fonts/satisfy_regular.ttf" To set custom font for title.
setSubTitleColor(color: Int)
OR
setSubTitleColor(colorValue: String)
R.color.gray
OR
"#888888"
The color of sub title either resource id from strings.xml OR HEX value.
setSubTitleSize(titleSize: Float) 16F The size of title text in float.
setSubTitleItalic(italic : Boolean) true To set subtitle in italic style or not.
setSubTitleFontStyle(fontName : String) "fonts/satisfy_regular.ttf" To set custom font for subtitle.
showLogo(show: Boolean) true To show Logo or not.
setLogoWHinDp(width: Int, height: Int) (200, 200) To set Logo Width(W) and Height(H) in DP.
setLogoScaleType(scaleType: ImageView.ScaleType) ImageView.ScaleType.CENTER_CROP To set default scale type of Logo.
Eg. ImageView.ScaleType.CENTER_CROP, CENTER, FIT_XY and others
showProgress(show: Boolean) false To show circular progress bar or not.
setProgressColor(resId: Int)
OR
setProgressColor(value: String)
R.color.black
OR
"#000000"
To set color of progressbar either resource id from strings.xml OR HEX value. Also enables progressbar
setBackgroundColor(resId: Int)
OR
setBackgroundColor(value: String)
R.color.white
OR
"#FFFFFF"
The background of Splash screen either resource id from strings.xml OR HEX value.
setBackgroundResource(resId: Int) R.drawable.bg The background resource for splash screen from drawable.
setAnimation(type: Animation, duration: Long) (NONE,800) The amazing splash screen animations with duration.
Eg. (Splashy.Animation.SLIDE_IN_TOP_BOTTOM, 800) , Types: SLIDE_IN_TOP_BOTTOM, SLIDE_IN_LEFT_BOTTOM, SLIDE_IN_LEFT_RIGHT, SLIDE_LEFT_ENTER, GLOW_LOGO, GLOW_LOGO_TITLE, GROW_LOGO_FROM_CENTER
setClickToHide(hide: Boolean) true Hides splash screen on anywhere click.
setFullScreen(yes: Boolean) false To show splashy full screen or not.
show() -- Finally shows splash screen.
Splashy.onComplete(getComplete: OnComplete) -- Listener when splash screen ends to perform some operations
Splashy.hide() -- Hides splash screen. Helpful when set to infinite duration.

📃 License

Copyright 2019 Rahul Dange

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].