diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 83ed897..3d778fd 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -3,9 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">
-
-
+ android:screenOrientation="portrait"
+ android:theme="@style/Theme.Keyneez.Splash">
-
-
-
+ android:exported="false"
+ android:screenOrientation="portrait" />
-
\ No newline at end of file
diff --git a/app/src/main/java/com/keyneez/presentation/splash/SplashActivity.kt b/app/src/main/java/com/keyneez/presentation/splash/SplashActivity.kt
index 8167e38..525243f 100644
--- a/app/src/main/java/com/keyneez/presentation/splash/SplashActivity.kt
+++ b/app/src/main/java/com/keyneez/presentation/splash/SplashActivity.kt
@@ -2,27 +2,19 @@ package com.keyneez.presentation.splash
import android.content.Intent
import android.os.Bundle
-import android.os.Handler
+import androidx.appcompat.app.AppCompatActivity
import com.keyneez.presentation.onboarding.OnboardingActivity
-import com.keyneez.util.binding.BindingActivity
-import com.lab.keyneez.R
-import com.lab.keyneez.databinding.ActivitySplashBinding
-class SplashActivity : BindingActivity(R.layout.activity_splash) {
+class SplashActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
- setContentView(R.layout.activity_splash)
- Handler().postDelayed({
- val intent = Intent(this, OnboardingActivity::class.java)
- intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)
- startActivity(intent)
- finish()
- }, DURATION)
+ intentToOnboarding()
}
- companion object {
- private const val DURATION: Long = 3000
+ private fun intentToOnboarding() {
+ startActivity(Intent(this, OnboardingActivity::class.java))
+ finish()
}
}
diff --git a/app/src/main/res/drawable/bg_splash_screen.xml b/app/src/main/res/drawable/bg_splash_screen.xml
new file mode 100644
index 0000000..6f1aaf1
--- /dev/null
+++ b/app/src/main/res/drawable/bg_splash_screen.xml
@@ -0,0 +1,18 @@
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_splash_bottom.xml b/app/src/main/res/drawable/ic_splash_bottom.xml
deleted file mode 100644
index f2b85b0..0000000
--- a/app/src/main/res/drawable/ic_splash_bottom.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
diff --git a/app/src/main/res/drawable/img_splash_copyright.png b/app/src/main/res/drawable/img_splash_copyright.png
new file mode 100644
index 0000000..1b592a0
Binary files /dev/null and b/app/src/main/res/drawable/img_splash_copyright.png differ
diff --git a/app/src/main/res/drawable/img_splash_logo.png b/app/src/main/res/drawable/img_splash_logo.png
index e77c8bd..2c9d515 100644
Binary files a/app/src/main/res/drawable/img_splash_logo.png and b/app/src/main/res/drawable/img_splash_logo.png differ
diff --git a/app/src/main/res/layout/activity_splash.xml b/app/src/main/res/layout/activity_splash.xml
deleted file mode 100644
index f30f2d8..0000000
--- a/app/src/main/res/layout/activity_splash.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
index 2e1b218..231b2ef 100644
--- a/app/src/main/res/values-night/themes.xml
+++ b/app/src/main/res/values-night/themes.xml
@@ -1,4 +1,4 @@
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values-v31/themes.xml b/app/src/main/res/values-v31/themes.xml
new file mode 100644
index 0000000..3f4af9e
--- /dev/null
+++ b/app/src/main/res/values-v31/themes.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 62f02c5..231b2ef 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,4 +1,4 @@
-
+
-
-
+
+
\ No newline at end of file