diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/release/app-release.apk b/app/release/app-release.apk index 4541d63..c576c22 100644 Binary files a/app/release/app-release.apk and b/app/release/app-release.apk differ diff --git a/app/src/main/java/com/dopesatan/tsunami/MainActivity.java b/app/src/main/java/com/dopesatan/tsunami/MainActivity.java index db2d235..12bd64a 100644 --- a/app/src/main/java/com/dopesatan/tsunami/MainActivity.java +++ b/app/src/main/java/com/dopesatan/tsunami/MainActivity.java @@ -83,7 +83,7 @@ public void checkConnection() { public void run() { overlay_relative.setVisibility(View.GONE); } - }, 10000); + }, 14000); Toast.makeText(MainActivity.this, "Welcome to Tsunami", Toast.LENGTH_LONG).show(); } else if(mobileNetwork.isConnected()){ @@ -95,7 +95,7 @@ else if(mobileNetwork.isConnected()){ public void run() { overlay_relative.setVisibility(View.GONE); } - }, 10000); + }, 14000); Toast.makeText(MainActivity.this, "Welcome to Tsunami", Toast.LENGTH_LONG).show(); } else{ diff --git a/app/src/main/java/com/dopesatan/tsunami/SplashScreenActivity.java b/app/src/main/java/com/dopesatan/tsunami/SplashScreenActivity.java index e641502..43e9dd2 100644 --- a/app/src/main/java/com/dopesatan/tsunami/SplashScreenActivity.java +++ b/app/src/main/java/com/dopesatan/tsunami/SplashScreenActivity.java @@ -16,7 +16,7 @@ protected void onCreate(Bundle savedInstanceState) { EasySplashScreen config = new EasySplashScreen(SplashScreenActivity.this) .withFullScreen() .withTargetActivity(MainActivity.class) - .withSplashTimeOut(5000) + .withSplashTimeOut(3000) .withBackgroundColor(Color.parseColor("#0D101E")) .withLogo(R.mipmap.splash_foreground); diff --git a/app/src/main/res/drawable/bomb.gif b/app/src/main/res/drawable/bomb.gif new file mode 100644 index 0000000..7901497 Binary files /dev/null and b/app/src/main/res/drawable/bomb.gif differ diff --git a/app/src/main/res/drawable/branding.png b/app/src/main/res/drawable/branding.png new file mode 100644 index 0000000..6781dff Binary files /dev/null and b/app/src/main/res/drawable/branding.png differ diff --git a/app/src/main/res/drawable/infotxt.png b/app/src/main/res/drawable/infotxt.png new file mode 100644 index 0000000..ffa4e87 Binary files /dev/null and b/app/src/main/res/drawable/infotxt.png differ diff --git a/app/src/main/res/drawable/loading.png b/app/src/main/res/drawable/loading.png deleted file mode 100644 index 463521e..0000000 Binary files a/app/src/main/res/drawable/loading.png and /dev/null differ diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 76e3c3e..bcd1052 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -33,13 +33,41 @@ android:background="@color/teal_200" android:id="@+id/overlay_relative"> + + + android:src="@drawable/infotxt" /> + + + + + + @@ -47,26 +75,24 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/relativeLayout" - android:background="@color/teal_200" - android:visibility="gone"> + android:background="@color/teal_200"> + android:src="@drawable/no_internet" + android:layout_above="@+id/txtNoConnection"/> @@ -77,13 +103,23 @@ android:layout_height="40dp" android:layout_below="@+id/txtNoConnection" android:layout_centerHorizontal="true" - android:layout_marginTop="60dp" + android:layout_marginTop="40dp" android:background="@drawable/button" android:text="Retry" android:fontFamily="sans-serif-medium" android:textColor="#FFFFFF" android:textSize="15sp" /> + + \ No newline at end of file