Skip to content

Commit

Permalink
Mass update to Forms 5.0. (xamarin#682)
Browse files Browse the repository at this point in the history
* Remove sample.

* Removed samples.

* Mass update to 5.0-pre1

* Removed MediaElement and Expander.

* Removed experimental flags.

* Use xct:Expander

* Rename MasterDetailPage to FlyoutPage.

* Replace MasterDetailPage with FlyoutPage

* Formatting applied.

* TargetFrameworkVersion updated to 10.0.

* RoundRectangleGeometry example added.

* Blur applied on the specified VisualElement.

* Use the 5.0 RadioButton API.

* Minor updates.

* Threshold example added.

* Navigating overrides commented out.

* RadioButton demos updated.

* minSDKVersion bumped to 21

* targetSdkVersion set to 29.

* Removed tabbar and toolbar references.

* Removed TabLayoutResource line.

* Remove ToolbarResource line.

* Removed Tabbar.axml AndroidResource from csproj.

* Remve Toolbar.axml AndroidResource from csproj

* Removed Tabbar.xml

* Removed Tabbar.axml

* Remove Toolbar.xml

* Remove Toolbar.axml

* Remove references to Tabbar.xml

* Remove references to Toolbar.xml

* Updated designer files.

* AndroidX support.

* Forms 5.0 updates.

* AndroidX updates.

* AndroidX updates.

* AndroidX support.

* AndroidX updates.

* AndroidX updates.

* Update plugin.

* Update to 5.0-pre2

* Sample fixed.

* Set target platform version and min version to 10.0.17763.0

* Tidy up using statements.

* MinVersion reset to 10.0.16299.0

* Remove StrokeThickness=1

* RadioButton experimental flag removed.

* Expander sample using XCT.

* Mass update to 5.0.0.1558-pre3

* Added FlyoutFooter.

* Samples now use XCT.

* Update to Forms 5.0-pre4

* Update to 5.0-pre4

* Updates.

* WebViewExecutionMode platform-specific on UWP.

* Mass update to 5.0.0.1874.

* UWP fixes.

* Android fixes.

* Sample removed.
  • Loading branch information
davidbritch authored Jan 6, 2021
1 parent 5cae664 commit dff32ef
Show file tree
Hide file tree
Showing 1,869 changed files with 620,381 additions and 302,539 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp></NuGetPackageImportStamp>
</PropertyGroup>
Expand Down Expand Up @@ -48,7 +48,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand All @@ -65,8 +65,6 @@
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Tabbar.axml" />
<AndroidResource Include="Resources\layout\Toolbar.axml" />
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values\colors.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompa

protected override void OnCreate(Bundle bundle)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;

base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
RegisterTypes();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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.DIContainerDemo">
<uses-sdk android:minSdkVersion="19" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
<application android:label="DIContainerDemo.Android"></application>
</manifest>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>DIContainerDemo.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.18362.0</TargetPlatformVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.17763.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
Expand Down Expand Up @@ -134,7 +134,7 @@
<Version>6.1.5</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand All @@ -148,11 +148,11 @@
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
<PackageReference Include="Autofac" Version="4.8.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp></NuGetPackageImportStamp>
</PropertyGroup>
Expand Down Expand Up @@ -48,7 +48,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand All @@ -65,8 +65,6 @@
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Tabbar.axml" />
<AndroidResource Include="Resources\layout\Toolbar.axml" />
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values\colors.xml" />
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompa

protected override void OnCreate(Bundle bundle)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;

base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
RegisterFactories();
Expand Down
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.FactoriesDemo">
<uses-sdk android:minSdkVersion="19" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
<application android:label="FactoriesDemo.Android">
</application>
</manifest>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>FactoriesDemo.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.18362.0</TargetPlatformVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.17763.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
Expand Down Expand Up @@ -134,7 +134,7 @@
<Version>6.1.5</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1687</Version>
<Version>5.0.0.1874</Version>
</PackageReference>
</ItemGroup>
<ItemGroup />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<AndroidApplication>true</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp />
Expand All @@ -38,7 +38,7 @@
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
Expand Down Expand Up @@ -72,8 +72,6 @@
<AndroidResource Include="Resources\drawable-xxhdpi\waterfront.jpg" />
<AndroidResource Include="Resources\drawable\csharp.png" />
<AndroidResource Include="Resources\drawable\xaml.png" />
<AndroidResource Include="Resources\layout\Tabbar.axml" />
<AndroidResource Include="Resources\layout\Toolbar.axml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ public class MainActivity : FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
//TabLayoutResource = Resource.Layout.Tabbar;
//ToolbarResource = Resource.Layout.Toolbar;

base.OnCreate(bundle);

Xamarin.Forms.Forms.Init(this, bundle);
Expand All @@ -23,4 +20,3 @@ protected override void OnCreate(Bundle bundle)
}
}
}

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" package="com.YourCompany.WorkingWithBehaviors" android:versionCode="1" android:versionName="1">
<uses-sdk android:minSdkVersion="19" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
<application android:icon="@drawable/icon" android:label="Working with Behaviors"></application>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>AttachedNumericValidationBehavior.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
<TargetPlatformVersion>10.0.17763.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
Expand Down Expand Up @@ -89,7 +89,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.0.12" />
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />
Expand Down
6 changes: 2 additions & 4 deletions Behaviors/EffectBehavior/Droid/EffectsDemo.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AndroidApplication>True</AndroidApplication>
<AssemblyName>EffectsDemo.Droid</AssemblyName>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v10.0</TargetFrameworkVersion>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp />
</PropertyGroup>
Expand All @@ -39,7 +39,7 @@
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1687" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.1874" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -75,8 +75,6 @@
<AndroidResource Include="Resources\drawable-xxhdpi\icon.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Tabbar.axml" />
<AndroidResource Include="Resources\layout\Toolbar.axml" />
<AndroidResource Include="Resources\values\styles.xml" />
<AndroidResource Include="Resources\values\colors.xml" />
</ItemGroup>
Expand Down
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.xamarin.effectsdemo">
<uses-sdk android:minSdkVersion="19" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" />
<application android:label="EffectsDemo">
</application>
</manifest>
Loading

0 comments on commit dff32ef

Please sign in to comment.