Skip to content

Commit

Permalink
Merge pull request #12 from AN0NCER/develop
Browse files Browse the repository at this point in the history
Fix bugs and added page trade
  • Loading branch information
AN0NCER authored Aug 23, 2022
2 parents d1a5140 + c68ee23 commit d87c702
Show file tree
Hide file tree
Showing 24 changed files with 570 additions and 403 deletions.
39 changes: 0 additions & 39 deletions Guard/Guard.Android/CustomEntryRendererAndroid.cs

This file was deleted.

12 changes: 5 additions & 7 deletions Guard/Guard.Android/Guard.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
<WarningLevel>4</WarningLevel>
<AndroidManagedSymbols>true</AndroidManagedSymbols>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<BundleAssemblies>false</BundleAssemblies>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
Expand All @@ -58,7 +63,6 @@
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
</ItemGroup>
<ItemGroup>
<Compile Include="CustomEntryRendererAndroid.cs" />
<Compile Include="MainActivity.cs" />
<Compile Include="Resources\Resource.designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -70,7 +74,6 @@
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values\colors.xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Guard\Guard.csproj">
Expand All @@ -90,11 +93,6 @@
<ItemGroup>
<AndroidResource Include="Resources\drawable\styleLogin.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\cursor.xml">
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\mipmap-anydpi-v26\ic_launcher.xml" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Guard/Guard.Android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Guard.Droid
{
[Activity(Label = "Guard", RoundIcon = "@mipmap/ic_launcher_round", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize )]
[Activity(Label = "Guard", RoundIcon = "@mipmap/ic_launcher_round", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ScreenOrientation = ScreenOrientation.Portrait, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize )]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
Expand Down
12 changes: 6 additions & 6 deletions Guard/Guard.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.guard">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" />
<application android:label="Guard.Android" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.1" package="com.Guard.guard" android:installLocation="auto">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" />
<application android:label="Guard.Android" android:theme="@style/MainTheme"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>
Loading

0 comments on commit d87c702

Please sign in to comment.