Updated 1.7.0

This commit is contained in:
Pranshul committed 2024-10-21 19:34:13 +05:30
1 parent 07db7e8863
commit 2f6f616a7a
25 files changed
+35 -17

No files matched your search

@@ -57,6 +57,7 @@ public class AboutPage extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.AboutBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/AboutPage.html");
@@ -58,6 +58,8 @@ public class AlertPage extends AppCompatActivity {
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
setTheme(R.style.blue_caret);
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/alertPage.html");
}
@@ -57,6 +57,7 @@ public class ForecastPage extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.forecastPageBg));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/forecastPage.html");
@@ -58,6 +58,7 @@ public class LanguagePage extends AppCompatActivity {
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
webview.loadUrl("file:///android_asset/pages/LanguagesPage.html");
webSettings.setTextZoom(100);
}
@@ -57,6 +57,7 @@ public class LiveRadar extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.RadarPage));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/radar.html");
@@ -91,6 +91,7 @@ public class MainActivity extends AppCompatActivity {
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.addJavascriptInterface(new ShowToastInterface(this), "ToastAndroidShow");
webview.setBackgroundColor(getResources().getColor(R.color.diffDefault));
webSettings.setTextZoom(100);
@@ -58,6 +58,7 @@ public class MoonPhases extends AppCompatActivity {
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.MoonPhase));
webview.loadUrl("file:///android_asset/pages/MoonPhases.html");
webSettings.setTextZoom(100);
}
@@ -57,6 +57,7 @@ public class PrivacyPolicy extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/aboutPages/PrivacyPolicy.html");
@@ -58,6 +58,7 @@ public class SettingsActivity extends AppCompatActivity {
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
webview.loadUrl("file:///android_asset/pages/settings.html");
webSettings.setTextZoom(100);
}
@@ -57,6 +57,7 @@ public class Terms_Conditions extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/aboutPages/TermsConditions.html");
@@ -57,6 +57,7 @@ public class ThirdParty extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.mainBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/aboutPages/licenses.html");
@@ -57,6 +57,7 @@ public class UVIndexCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/uvIndex_forecast.html");
@@ -57,6 +57,7 @@ public class WindCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/wind_forecast.html");
@@ -57,6 +57,7 @@ public class humidityCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/humidity_forecast.html");
@@ -57,6 +57,7 @@ public class pressureCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/pressure_forecast.html");
@@ -57,6 +57,7 @@ public class sunCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/sunset_rise_forecast.html");
@@ -57,6 +57,7 @@ public class visibilityCondition extends AppCompatActivity {
AndroidInterface androidInterface = new AndroidInterface(this);
webview.addJavascriptInterface(androidInterface, "AndroidInterface");
webview.setBackgroundColor(getResources().getColor(R.color.conditionBG));
webSettings.setTextZoom(100);
webview.loadUrl("file:///android_asset/pages/conditions_pages/visibility_forecast.html");