diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 367cbfa..02471ba 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -28,6 +28,7 @@ + { + + pref.edit().putBoolean("first", false).apply(); + + startActivity(new Intent(SplashActivity.this, MainActivity.class)); + finish(); + + }, 3000); + + } else { + startActivity(new Intent(SplashActivity.this, MainActivity.class)); + finish(); + } + } +} diff --git a/app/src/main/res/layout/activity_splash.xml b/app/src/main/res/layout/activity_splash.xml new file mode 100644 index 0000000..0b397c0 --- /dev/null +++ b/app/src/main/res/layout/activity_splash.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 093b09c..89ffa8d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,10 @@ buildscript { - repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:4.2.2' classpath 'com.google.gms:google-services:4.3.8' } } @@ -13,10 +12,10 @@ buildscript { allprojects { repositories { google() - mavencentral() + mavenCentral() } } task clean(type: Delete) { delete rootProject.buildDir -} +} \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8b23137..7ef998b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Oct 18 16:25:36 IST 2020 +#Sun Jun 14 23:14:45 IST 2026 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip diff --git a/settings.gradle b/settings.gradle index e7b4def..9d495b3 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':app' +include ':app' \ No newline at end of file