diff --git a/app/src/main/assets/ui-files/ui.css b/app/src/main/assets/ui-files/ui.css index 0e74329f..6a4ee111 100644 --- a/app/src/main/assets/ui-files/ui.css +++ b/app/src/main/assets/ui-files/ui.css @@ -1875,7 +1875,7 @@ savelocationtouch md-ripple{ .new_ver_download{ position: fixed; bottom: 0; - z-index: 999; + z-index: 99999999; display: flex; align-items: center; justify-content: space-between; diff --git a/app/src/main/java/com/example/weathermaster/MainActivity.java b/app/src/main/java/com/example/weathermaster/MainActivity.java index 8b3bfcfb..f81198dd 100644 --- a/app/src/main/java/com/example/weathermaster/MainActivity.java +++ b/app/src/main/java/com/example/weathermaster/MainActivity.java @@ -358,6 +358,9 @@ public void run() { } else if (color.equals("OpenMoonPhasesPage")){ OpenMoonPhasesPage(); return; + } else if (color.equals("OpenAboutPage")){ + openAboutPage(); + return; } else if (color.equals("GoBack")){ back(); return; @@ -379,6 +382,7 @@ public void run() { return; + } else { Toast.makeText(mActivity, "not found", Toast.LENGTH_SHORT).show(); return; @@ -439,6 +443,11 @@ public void OpenMoonPhasesPage(){ Intent intent = new Intent(mActivity, MoonPhases.class); mActivity.startActivity(intent); } + public void openAboutPage() { + Intent intent = new Intent(mActivity, AboutPage.class); + mActivity.startActivity(intent); + } + } public void back() {