forked from PrismLibrary/Prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PrismLibrary#1474 from PrismLibrary/SandboxUpdates
Sandbox updates
- Loading branch information
Showing
117 changed files
with
4,218 additions
and
4,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
Sandbox/Xamarin/HelloWorld/HelloWorld/HelloWorld.Android/AndroidInitializer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
using Android.App; | ||
using Android.Content; | ||
using Android.OS; | ||
using Android.Runtime; | ||
using Android.Views; | ||
using Android.Widget; | ||
using HelloWorld.Interfaces; | ||
using HelloWorld.Droid.Services; | ||
using Prism; | ||
using Prism.Ioc; | ||
|
||
namespace HelloWorld.Droid | ||
{ | ||
public class AndroidInitializer : IPlatformInitializer | ||
{ | ||
public void RegisterTypes(IContainerRegistry containerRegistry) | ||
{ | ||
containerRegistry.RegisterSingleton<IMessageService, MessageService>(); | ||
} | ||
} | ||
} |
File renamed without changes.
114 changes: 114 additions & 0 deletions
114
Sandbox/Xamarin/HelloWorld/HelloWorld/HelloWorld.Android/HelloWorld.Android.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{2C7E47E0-D8AD-495B-B53E-9248D303D167}</ProjectGuid> | ||
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>HelloWorld.Droid</RootNamespace> | ||
<AssemblyName>HelloWorld.Android</AssemblyName> | ||
<AndroidApplication>True</AndroidApplication> | ||
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile> | ||
<AndroidResgenClass>Resource</AndroidResgenClass> | ||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest> | ||
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix> | ||
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix> | ||
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk> | ||
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AndroidLinkMode>None</AndroidLinkMode> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AndroidManagedSymbols>true</AndroidManagedSymbols> | ||
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Mono.Android" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Xamarin.Forms" Version="3.1.0.561732-pre4" /> | ||
<PackageReference Include="Xamarin.Android.Support.Design" Version="27.0.2.1" /> | ||
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="27.0.2.1" /> | ||
<PackageReference Include="Xamarin.Android.Support.v4" Version="27.0.2.1" /> | ||
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="27.0.2.1" /> | ||
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="27.0.2.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="AndroidInitializer.cs" /> | ||
<Compile Include="MainActivity.cs" /> | ||
<Compile Include="Services\MessageService.cs" /> | ||
<Compile Include="Resources\Resource.Designer.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Resources\AboutResources.txt" /> | ||
<None Include="Assets\AboutAssets.txt" /> | ||
<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" /> | ||
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon_round.xml" /> | ||
<AndroidResource Include="Resources\mipmap-hdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\mipmap-hdpi\launcher_foreground.png" /> | ||
<AndroidResource Include="Resources\mipmap-mdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\mipmap-mdpi\launcher_foreground.png" /> | ||
<AndroidResource Include="Resources\mipmap-xhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\mipmap-xhdpi\launcher_foreground.png" /> | ||
<AndroidResource Include="Resources\mipmap-xxhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" /> | ||
<AndroidResource Include="Resources\mipmap-xxxhdpi\Icon.png" /> | ||
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="Resources\drawable-hdpi\" /> | ||
<Folder Include="Resources\drawable-xhdpi\" /> | ||
<Folder Include="Resources\drawable-xxhdpi\" /> | ||
<Folder Include="Resources\drawable-xxxhdpi\" /> | ||
<Folder Include="Resources\drawable\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\..\Source\Prism\Prism.csproj"> | ||
<Project>{937618d6-69aa-4549-9a77-e38c127a16fa}</Project> | ||
<Name>Prism</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\..\..\..\Source\Xamarin\Prism.DryIoc.Forms\Prism.DryIoc.Forms.csproj"> | ||
<Project>{4809258f-9f28-474e-9796-da0183bdadcb}</Project> | ||
<Name>Prism.DryIoc.Forms</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\..\..\..\Source\Xamarin\Prism.Forms\Prism.Forms.csproj"> | ||
<Project>{152da85c-13f4-4427-850c-052cbbcdd4b0}</Project> | ||
<Name>Prism.Forms</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\HelloWorld\HelloWorld.csproj"> | ||
<Project>{DCC0DE3D-297A-4CE1-A002-81AEE3CA0AE4}</Project> | ||
<Name>HelloWorld</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
Sandbox/Xamarin/HelloWorld/HelloWorld/HelloWorld.Android/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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.HelloWorld"> | ||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" /> | ||
<application android:label="HelloWorld.Android"></application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.