From 7c59c2fd8ef704521958d351a42d5e41ab09abdf Mon Sep 17 00:00:00 2001 From: Panxuc Date: Fri, 4 Aug 2023 23:35:44 +0800 Subject: [PATCH] add: weather module --- .gitignore | 3 + android/XPrism/Hyperlink.cs | 0 android/XPrism/XPrism/MainPage.xaml | 10 +- android/XPrism/XPrism/MainPage.xaml.cs | 6 + android/XPrism/XPrism/MauiProgram.cs | 5 +- .../Platforms/Android/MainApplication.cs | 2 +- .../Images/material_weather_partly_cloudy.svg | 1 + .../material_weather_partly_cloudy_white.svg | 1 + android/XPrism/XPrism/SendPage.xaml.cs | 12 +- android/XPrism/XPrism/WeatherPage.xaml | 67 ++++++ android/XPrism/XPrism/WeatherPage.xaml.cs | 214 ++++++++++++++++++ android/XPrism/XPrism/XPrism.csproj | 3 + 12 files changed, 312 insertions(+), 12 deletions(-) delete mode 100644 android/XPrism/Hyperlink.cs create mode 100644 android/XPrism/XPrism/Resources/Images/material_weather_partly_cloudy.svg create mode 100644 android/XPrism/XPrism/Resources/Images/material_weather_partly_cloudy_white.svg create mode 100644 android/XPrism/XPrism/WeatherPage.xaml create mode 100644 android/XPrism/XPrism/WeatherPage.xaml.cs diff --git a/.gitignore b/.gitignore index 8a30d25..fd8c042 100644 --- a/.gitignore +++ b/.gitignore @@ -396,3 +396,6 @@ FodyWeavers.xsd # JetBrains Rider *.sln.iml + +# API +Secrets.cs diff --git a/android/XPrism/Hyperlink.cs b/android/XPrism/Hyperlink.cs deleted file mode 100644 index e69de29..0000000 diff --git a/android/XPrism/XPrism/MainPage.xaml b/android/XPrism/XPrism/MainPage.xaml index 7f4aac8..fff493f 100644 --- a/android/XPrism/XPrism/MainPage.xaml +++ b/android/XPrism/XPrism/MainPage.xaml @@ -6,10 +6,12 @@ -