diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/AbsoluteLayoutDemos.Android.csproj b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/AbsoluteLayoutDemos.Android.csproj new file mode 100644 index 0000000000..25ef27b832 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/AbsoluteLayoutDemos.Android.csproj @@ -0,0 +1,96 @@ + + + + Debug + AnyCPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {c9e5eea5-ca05-42a1-839b-61506e0a37df} + Library + AbsoluteLayoutDemos.Droid + AbsoluteLayoutDemos.Android + True + True + Resources\Resource.designer.cs + Resource + Properties\AndroidManifest.xml + Resources + Assets + v9.0 + true + true + Xamarin.Android.Net.AndroidClientHandler + + + + + true + portable + false + bin\Debug + DEBUG; + prompt + 4 + None + + + true + portable + true + bin\Release + prompt + 4 + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6} + AbsoluteLayoutDemos + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Assets/AboutAssets.txt b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Assets/AboutAssets.txt new file mode 100644 index 0000000000..072563f8f8 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Assets/AboutAssets.txt @@ -0,0 +1,19 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories) and given a Build Action of "AndroidAsset". + +These files will be deployed with your package and will be accessible using Android's +AssetManager, like this: + +public class ReadAsset : Activity +{ + protected override void OnCreate (Bundle bundle) + { + base.OnCreate (bundle); + + InputStream input = Assets.Open ("my_asset.txt"); + } +} + +Additionally, some Android functions will automatically load asset files: + +Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/MainActivity.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/MainActivity.cs new file mode 100644 index 0000000000..1f3b19dc53 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/MainActivity.cs @@ -0,0 +1,20 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace AbsoluteLayoutDemos.Droid +{ + [Activity(Label = "AbsoluteLayoutDemos", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] + public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity + { + protected override void OnCreate(Bundle savedInstanceState) + { + TabLayoutResource = Resource.Layout.Tabbar; + ToolbarResource = Resource.Layout.Toolbar; + + base.OnCreate(savedInstanceState); + Xamarin.Forms.Forms.Init(this, savedInstanceState); + LoadApplication(new App()); + } + } +} \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AndroidManifest.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AndroidManifest.xml new file mode 100644 index 0000000000..48ee28124e --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AssemblyInfo.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..e80fb9f376 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Android.App; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AbsoluteLayoutDemos.Android")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AbsoluteLayoutDemos.Android")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: ComVisible(false)] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] + +// Add some common permissions, these can be removed if not needed +[assembly: UsesPermission(Android.Manifest.Permission.Internet)] +[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/AboutResources.txt b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/AboutResources.txt new file mode 100644 index 0000000000..cb30f20b1c --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/AboutResources.txt @@ -0,0 +1,50 @@ +Images, layout descriptions, binary blobs and string dictionaries can be included +in your application as resource files. Various Android APIs are designed to +operate on the resource IDs instead of dealing with images, strings or binary blobs +directly. + +For example, a sample Android app that contains a user interface layout (main.xml), +an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png) +would keep its resources in the "Resources" directory of the application: + +Resources/ + drawable-hdpi/ + icon.png + + drawable-ldpi/ + icon.png + + drawable-mdpi/ + icon.png + + layout/ + main.xml + + values/ + strings.xml + +In order to get the build system to recognize Android resources, set the build action to +"AndroidResource". The native Android APIs do not operate directly with filenames, but +instead operate on resource IDs. When you compile an Android application that uses resources, +the build system will package the resources for distribution and generate a class called +"Resource" that contains the tokens for each one of the resources included. For example, +for the above Resources layout, this is what the Resource class would expose: + +public class Resource { + public class drawable { + public const int icon = 0x123; + } + + public class layout { + public const int main = 0x456; + } + + public class strings { + public const int first_string = 0xabc; + public const int second_string = 0xbcd; + } +} + +You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main +to reference the layout/main.xml file, or Resource.strings.first_string to reference the first +string in the dictionary file values/strings.xml. diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Tabbar.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Tabbar.xml new file mode 100644 index 0000000000..b2d0868812 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Tabbar.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Toolbar.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Toolbar.xml new file mode 100644 index 0000000000..32440653b8 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/layout/Toolbar.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon.xml new file mode 100644 index 0000000000..88d1d0a16c --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon_round.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon_round.xml new file mode 100644 index 0000000000..88d1d0a16c --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-anydpi-v26/icon_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/icon.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/icon.png new file mode 100644 index 0000000000..4623ca2c42 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/icon.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/launcher_foreground.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/launcher_foreground.png new file mode 100644 index 0000000000..a89e5bbce6 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-hdpi/launcher_foreground.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/icon.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/icon.png new file mode 100644 index 0000000000..9b1d25e25d Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/icon.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/launcher_foreground.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/launcher_foreground.png new file mode 100644 index 0000000000..431a8a053d Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-mdpi/launcher_foreground.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/icon.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/icon.png new file mode 100644 index 0000000000..844dfe544e Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/icon.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/launcher_foreground.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/launcher_foreground.png new file mode 100644 index 0000000000..9e9e4f8e4c Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xhdpi/launcher_foreground.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/icon.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/icon.png new file mode 100644 index 0000000000..e20ec9ae22 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/icon.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/launcher_foreground.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/launcher_foreground.png new file mode 100644 index 0000000000..5f1e1356eb Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxhdpi/launcher_foreground.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/icon.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/icon.png new file mode 100644 index 0000000000..8a08bf75e7 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/icon.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png new file mode 100644 index 0000000000..aca9f8d1c0 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/colors.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/colors.xml new file mode 100644 index 0000000000..bdd44a8371 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/colors.xml @@ -0,0 +1,7 @@ + + + #FFFFFF + #3F51B5 + #303F9F + #FF4081 + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/styles.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/styles.xml new file mode 100644 index 0000000000..088e4497fa --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.Android/Resources/values/styles.xml @@ -0,0 +1,27 @@ + + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/AbsoluteLayoutDemos.UWP.csproj b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/AbsoluteLayoutDemos.UWP.csproj new file mode 100644 index 0000000000..c606012b97 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/AbsoluteLayoutDemos.UWP.csproj @@ -0,0 +1,177 @@ + + + + + Debug + x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F} + AppContainerExe + Properties + AbsoluteLayoutDemos.UWP + AbsoluteLayoutDemos.UWP + en-US + UAP + 10.0.18362.0 + 10.0.16299.0 + 14 + 512 + {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + true + false + + + true + bin\x86\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x86 + false + prompt + true + + + bin\x86\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x86 + false + prompt + true + true + + + true + bin\ARM\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + ARM + false + prompt + true + + + bin\ARM\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM + false + prompt + true + true + + + true + bin\ARM64\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + ARM64 + false + prompt + true + true + + + bin\ARM64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + ARM64 + false + prompt + true + true + + + true + bin\x64\Debug\ + DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP + ;2008 + full + x64 + false + prompt + true + + + bin\x64\Release\ + TRACE;NETFX_CORE;WINDOWS_UWP + true + ;2008 + pdbonly + x64 + false + prompt + true + true + + + PackageReference + + + + App.xaml + + + MainPage.xaml + + + + + + Designer + + + + + + + + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + + + 6.2.10 + + + 4.7.0.1239 + + + + + {1df5af4e-35d0-431b-9301-7810ce4b23e6} + AbsoluteLayoutDemos + + + + 14.0 + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml new file mode 100644 index 0000000000..fea9fbf529 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml @@ -0,0 +1,7 @@ + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml.cs new file mode 100644 index 0000000000..25fc3ab9ce --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/App.xaml.cs @@ -0,0 +1,92 @@ +using System; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Navigation; + +namespace AbsoluteLayoutDemos.UWP +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + sealed partial class App : Application + { + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + this.Suspending += OnSuspending; + } + + /// + /// Invoked when the application is launched normally by the end user. Other entry points + /// will be used such as when the application is launched to open a specific file. + /// + /// Details about the launch request and process. + protected override void OnLaunched(LaunchActivatedEventArgs e) + { + Frame rootFrame = Window.Current.Content as Frame; + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == null) + { + // Create a Frame to act as the navigation context and navigate to the first page + rootFrame = new Frame(); + + rootFrame.NavigationFailed += OnNavigationFailed; + + Xamarin.Forms.Forms.Init(e); + + if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) + { + //TODO: Load state from previously suspended application + } + + // Place the frame in the current Window + Window.Current.Content = rootFrame; + } + + if (e.PrelaunchActivated == false) + { + if (rootFrame.Content == null) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + rootFrame.Navigate(typeof(MainPage), e.Arguments); + } + // Ensure the current window is active + Window.Current.Activate(); + } + } + + /// + /// Invoked when Navigation to a certain page fails + /// + /// The Frame which failed navigation + /// Details about the navigation failure + void OnNavigationFailed(object sender, NavigationFailedEventArgs e) + { + throw new Exception("Failed to load Page " + e.SourcePageType.FullName); + } + + /// + /// Invoked when application execution is being suspended. Application state is saved + /// without knowing whether the application will be terminated or resumed with the contents + /// of memory still intact. + /// + /// The source of the suspend request. + /// Details about the suspend request. + private void OnSuspending(object sender, SuspendingEventArgs e) + { + var deferral = e.SuspendingOperation.GetDeferral(); + //TODO: Save application state and stop any background activity + deferral.Complete(); + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/LockScreenLogo.scale-200.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/LockScreenLogo.scale-200.png new file mode 100644 index 0000000000..735f57adb5 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/LockScreenLogo.scale-200.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/SplashScreen.scale-200.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/SplashScreen.scale-200.png new file mode 100644 index 0000000000..023e7f1fed Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/SplashScreen.scale-200.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square150x150Logo.scale-200.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square150x150Logo.scale-200.png new file mode 100644 index 0000000000..af49fec1a5 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square150x150Logo.scale-200.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.scale-200.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.scale-200.png new file mode 100644 index 0000000000..ce342a2ec8 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.scale-200.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png new file mode 100644 index 0000000000..f6c02ce97e Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/StoreLogo.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/StoreLogo.png new file mode 100644 index 0000000000..7385b56c0e Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/StoreLogo.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Wide310x150Logo.scale-200.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Wide310x150Logo.scale-200.png new file mode 100644 index 0000000000..288995b397 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Assets/Wide310x150Logo.scale-200.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml new file mode 100644 index 0000000000..c83a1447ba --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml.cs new file mode 100644 index 0000000000..ff76aa6eb1 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace AbsoluteLayoutDemos.UWP +{ + public sealed partial class MainPage + { + public MainPage() + { + this.InitializeComponent(); + this.LoadApplication(new AbsoluteLayoutDemos.App()); + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Package.appxmanifest b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Package.appxmanifest new file mode 100644 index 0000000000..9168c199eb --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Package.appxmanifest @@ -0,0 +1,49 @@ + + + + + + + + + + AbsoluteLayoutDemos.UWP + Dave + Assets\StoreLogo.png + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/AssemblyInfo.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..7ec7a78293 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AbsoluteLayoutDemos.UWP")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AbsoluteLayoutDemos.UWP")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)] \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/Default.rd.xml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/Default.rd.xml new file mode 100644 index 0000000000..af00722cdf --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.UWP/Properties/Default.rd.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AbsoluteLayoutDemos.iOS.csproj b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AbsoluteLayoutDemos.iOS.csproj new file mode 100644 index 0000000000..5f525e034e --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AbsoluteLayoutDemos.iOS.csproj @@ -0,0 +1,135 @@ + + + + Debug + iPhoneSimulator + 8.0.30703 + 2.0 + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C} + {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {6143fdea-f3c2-4a09-aafa-6e230626515e} + Exe + AbsoluteLayoutDemos.iOS + Resources + AbsoluteLayoutDemos.iOS + true + NSUrlSessionHandler + automatic + + + true + full + false + bin\iPhoneSimulator\Debug + DEBUG + prompt + 4 + x86_64 + None + true + + + none + true + bin\iPhoneSimulator\Release + prompt + 4 + None + x86_64 + + + true + full + false + bin\iPhone\Debug + DEBUG + prompt + 4 + ARM64 + iPhone Developer + true + Entitlements.plist + None + -all + + + none + true + bin\iPhone\Release + prompt + 4 + ARM64 + iPhone Developer + Entitlements.plist + + + + + + + + + + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + false + + + + + + + + + + + + + + + + + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6} + AbsoluteLayoutDemos + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AppDelegate.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AppDelegate.cs new file mode 100644 index 0000000000..fbf4bc9980 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/AppDelegate.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +using Foundation; +using UIKit; + +namespace AbsoluteLayoutDemos.iOS +{ + // The UIApplicationDelegate for the application. This class is responsible for launching the + // User Interface of the application, as well as listening (and optionally responding) to + // application events from iOS. + [Register("AppDelegate")] + public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate + { + // + // This method is invoked when the application has loaded and is ready to run. In this + // method you should instantiate the window, load the UI into it and then make the window + // visible. + // + // You have 17 seconds to return from this method, or iOS will terminate your application. + // + public override bool FinishedLaunching(UIApplication app, NSDictionary options) + { + global::Xamarin.Forms.Forms.Init(); + LoadApplication(new App()); + + return base.FinishedLaunching(app, options); + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000000..98f4d035c8 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,117 @@ +{ + "images": [ + { + "scale": "2x", + "size": "20x20", + "idiom": "iphone", + "filename": "Icon40.png" + }, + { + "scale": "3x", + "size": "20x20", + "idiom": "iphone", + "filename": "Icon60.png" + }, + { + "scale": "2x", + "size": "29x29", + "idiom": "iphone", + "filename": "Icon58.png" + }, + { + "scale": "3x", + "size": "29x29", + "idiom": "iphone", + "filename": "Icon87.png" + }, + { + "scale": "2x", + "size": "40x40", + "idiom": "iphone", + "filename": "Icon80.png" + }, + { + "scale": "3x", + "size": "40x40", + "idiom": "iphone", + "filename": "Icon120.png" + }, + { + "scale": "2x", + "size": "60x60", + "idiom": "iphone", + "filename": "Icon120.png" + }, + { + "scale": "3x", + "size": "60x60", + "idiom": "iphone", + "filename": "Icon180.png" + }, + { + "scale": "1x", + "size": "20x20", + "idiom": "ipad", + "filename": "Icon20.png" + }, + { + "scale": "2x", + "size": "20x20", + "idiom": "ipad", + "filename": "Icon40.png" + }, + { + "scale": "1x", + "size": "29x29", + "idiom": "ipad", + "filename": "Icon29.png" + }, + { + "scale": "2x", + "size": "29x29", + "idiom": "ipad", + "filename": "Icon58.png" + }, + { + "scale": "1x", + "size": "40x40", + "idiom": "ipad", + "filename": "Icon40.png" + }, + { + "scale": "2x", + "size": "40x40", + "idiom": "ipad", + "filename": "Icon80.png" + }, + { + "scale": "1x", + "size": "76x76", + "idiom": "ipad", + "filename": "Icon76.png" + }, + { + "scale": "2x", + "size": "76x76", + "idiom": "ipad", + "filename": "Icon152.png" + }, + { + "scale": "2x", + "size": "83.5x83.5", + "idiom": "ipad", + "filename": "Icon167.png" + }, + { + "scale": "1x", + "size": "1024x1024", + "idiom": "ios-marketing", + "filename": "Icon1024.png" + } + ], + "properties": {}, + "info": { + "version": 1, + "author": "xcode" + } +} \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png new file mode 100644 index 0000000000..9174c989a9 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png new file mode 100644 index 0000000000..9c60a1761d Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png new file mode 100644 index 0000000000..448d6efb57 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png new file mode 100644 index 0000000000..8524768f8d Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png new file mode 100644 index 0000000000..60a64703c0 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png new file mode 100644 index 0000000000..45268a641c Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png new file mode 100644 index 0000000000..6a6c77a8b4 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png new file mode 100644 index 0000000000..cc7edcf5cb Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png new file mode 100644 index 0000000000..1ad04f004b Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png new file mode 100644 index 0000000000..2dd52620a8 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png new file mode 100644 index 0000000000..b058cae2f4 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png new file mode 100644 index 0000000000..02e47a2611 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png new file mode 100644 index 0000000000..4954a4bd33 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Entitlements.plist b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Entitlements.plist new file mode 100644 index 0000000000..e9a3005f78 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Entitlements.plist @@ -0,0 +1,7 @@ + + + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Info.plist b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Info.plist new file mode 100644 index 0000000000..8547bf5ab3 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Info.plist @@ -0,0 +1,38 @@ + + + + + UIDeviceFamily + + 1 + 2 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + MinimumOSVersion + 8.0 + CFBundleDisplayName + AbsoluteLayoutDemos + CFBundleIdentifier + com.companyname.AbsoluteLayoutDemos + CFBundleVersion + 1.0 + UILaunchStoryboardName + LaunchScreen + CFBundleName + AbsoluteLayoutDemos + XSAppIconAssets + Assets.xcassets/AppIcon.appiconset + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Main.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Main.cs new file mode 100644 index 0000000000..4576021beb --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Main.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +using Foundation; +using UIKit; + +namespace AbsoluteLayoutDemos.iOS +{ + public class Application + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, "AppDelegate"); + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Properties/AssemblyInfo.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..521602b147 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("AbsoluteLayoutDemos.iOS")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AbsoluteLayoutDemos.iOS")] +[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-568h@2x.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-568h@2x.png new file mode 100644 index 0000000000..26c6461e50 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-568h@2x.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait.png new file mode 100644 index 0000000000..5d0d1ab4c6 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait@2x.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait@2x.png new file mode 100644 index 0000000000..0ee2688e8f Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default-Portrait@2x.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default.png new file mode 100644 index 0000000000..b74643c0aa Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default@2x.png b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default@2x.png new file mode 100644 index 0000000000..dbd6bd3e86 Binary files /dev/null and b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/Default@2x.png differ diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/LaunchScreen.storyboard b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/LaunchScreen.storyboard new file mode 100644 index 0000000000..f12b936801 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.iOS/Resources/LaunchScreen.storyboard @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.sln b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.sln new file mode 100644 index 0000000000..4569a15199 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos.sln @@ -0,0 +1,152 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30320.27 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbsoluteLayoutDemos.Android", "AbsoluteLayoutDemos.Android\AbsoluteLayoutDemos.Android.csproj", "{743DF34E-18F1-4898-B45D-9BEB8BC58683}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbsoluteLayoutDemos.iOS", "AbsoluteLayoutDemos.iOS\AbsoluteLayoutDemos.iOS.csproj", "{AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AbsoluteLayoutDemos", "AbsoluteLayoutDemos\AbsoluteLayoutDemos.csproj", "{1DF5AF4E-35D0-431B-9301-7810CE4B23E6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbsoluteLayoutDemos.UWP", "AbsoluteLayoutDemos.UWP\AbsoluteLayoutDemos.UWP.csproj", "{2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|ARM64 = Debug|ARM64 + Debug|iPhone = Debug|iPhone + Debug|iPhoneSimulator = Debug|iPhoneSimulator + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|ARM64 = Release|ARM64 + Release|iPhone = Release|iPhone + Release|iPhoneSimulator = Release|iPhoneSimulator + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|Any CPU.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM.Deploy.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM64.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|ARM64.Deploy.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|iPhone.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x64.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x64.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x64.Deploy.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x86.ActiveCfg = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x86.Build.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Debug|x86.Deploy.0 = Debug|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|Any CPU.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|Any CPU.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM.Deploy.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM64.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM64.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|ARM64.Deploy.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|iPhone.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|iPhone.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x64.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x64.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x64.Deploy.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x86.ActiveCfg = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x86.Build.0 = Release|Any CPU + {743DF34E-18F1-4898-B45D-9BEB8BC58683}.Release|x86.Deploy.0 = Release|Any CPU + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|ARM.ActiveCfg = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|ARM64.ActiveCfg = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|iPhone.ActiveCfg = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|iPhone.Build.0 = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|x64.ActiveCfg = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Debug|x86.ActiveCfg = Debug|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|Any CPU.Build.0 = Release|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|ARM.ActiveCfg = Release|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|ARM64.ActiveCfg = Release|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|iPhone.ActiveCfg = Release|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|iPhone.Build.0 = Release|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|x64.ActiveCfg = Release|iPhone + {AAD63A79-6BF6-4F3B-9908-FF3E2BEB878C}.Release|x86.ActiveCfg = Release|iPhone + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|ARM.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|ARM.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|ARM64.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|iPhone.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|x64.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|x64.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|x86.ActiveCfg = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Debug|x86.Build.0 = Debug|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|Any CPU.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|ARM.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|ARM.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|ARM64.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|ARM64.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|iPhone.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|iPhone.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|x64.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|x64.Build.0 = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|x86.ActiveCfg = Release|Any CPU + {1DF5AF4E-35D0-431B-9301-7810CE4B23E6}.Release|x86.Build.0 = Release|Any CPU + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|Any CPU.ActiveCfg = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM.ActiveCfg = Debug|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM.Build.0 = Debug|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM.Deploy.0 = Debug|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM64.Build.0 = Debug|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|iPhone.ActiveCfg = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x64.ActiveCfg = Debug|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x64.Build.0 = Debug|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x64.Deploy.0 = Debug|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x86.ActiveCfg = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x86.Build.0 = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Debug|x86.Deploy.0 = Debug|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|Any CPU.ActiveCfg = Release|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM.ActiveCfg = Release|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM.Build.0 = Release|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM.Deploy.0 = Release|ARM + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM64.ActiveCfg = Release|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM64.Build.0 = Release|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|ARM64.Deploy.0 = Release|ARM64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|iPhone.ActiveCfg = Release|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|iPhoneSimulator.ActiveCfg = Release|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x64.ActiveCfg = Release|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x64.Build.0 = Release|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x64.Deploy.0 = Release|x64 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x86.ActiveCfg = Release|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x86.Build.0 = Release|x86 + {2B7A9BD5-C4CF-40BC-B43F-D74791AE445F}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {880805FC-B4D1-4E96-B627-B20088CEA869} + EndGlobalSection +EndGlobal diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AbsoluteLayoutDemos.csproj b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AbsoluteLayoutDemos.csproj new file mode 100644 index 0000000000..bd2bbf2b98 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AbsoluteLayoutDemos.csproj @@ -0,0 +1,26 @@ + + + + netstandard2.0 + true + + + + portable + true + + + + + + + + + + + + + Views.BouncingTextDemoPage.xaml + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml new file mode 100644 index 0000000000..cfe71d8c3b --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs new file mode 100644 index 0000000000..21b881706f --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs @@ -0,0 +1,26 @@ +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new NavigationPage(new MainPage()); + } + + protected override void OnStart() + { + } + + protected override void OnSleep() + { + } + + protected override void OnResume() + { + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AssemblyInfo.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AssemblyInfo.cs new file mode 100644 index 0000000000..c859952e34 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using Xamarin.Forms.Xaml; + +[assembly: XamlCompilation(XamlCompilationOptions.Compile)] \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/BouncingTextDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/BouncingTextDemoPageCS.cs new file mode 100644 index 0000000000..dea543223f --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/BouncingTextDemoPageCS.cs @@ -0,0 +1,57 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class BouncingTextDemoPageCS : ContentPage + { + const double period = 2000; + readonly DateTime now = DateTime.Now; + bool isCurrentPage; + Label label1; + Label label2; + + public BouncingTextDemoPageCS() + { + label1 = new Label { Text = "Bouncing text", FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)) }; + label2 = new Label { Text = "Bouncing text", FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)) }; + + AbsoluteLayout.SetLayoutFlags(label1, AbsoluteLayoutFlags.PositionProportional); + AbsoluteLayout.SetLayoutFlags(label2, AbsoluteLayoutFlags.PositionProportional); + + Title = "Bouncing text demo"; + Content = new AbsoluteLayout + { + Children = + { + label1, + label2 + } + }; + } + + protected override void OnAppearing() + { + base.OnAppearing(); + isCurrentPage = true; + + Device.StartTimer(TimeSpan.FromMilliseconds(15), () => + { + TimeSpan elapsed = DateTime.Now - now; + double t = (elapsed.TotalMilliseconds % period) / period; + t = 2 * (t < 0.5 ? t : 1 - t); + + AbsoluteLayout.SetLayoutBounds(label1, new Rectangle(t, 0.5, AbsoluteLayout.AutoSize, AbsoluteLayout.AutoSize)); + AbsoluteLayout.SetLayoutBounds(label2, new Rectangle(0.5, 1 - t, AbsoluteLayout.AutoSize, AbsoluteLayout.AutoSize)); + + return isCurrentPage; + }); + } + + protected override void OnDisappearing() + { + base.OnDisappearing(); + isCurrentPage = false; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ChessboardDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ChessboardDemoPageCS.cs new file mode 100644 index 0000000000..d9f2024379 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ChessboardDemoPageCS.cs @@ -0,0 +1,61 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class ChessboardDemoPageCS : ContentPage + { + AbsoluteLayout absoluteLayout; + + public ChessboardDemoPageCS() + { + absoluteLayout = new AbsoluteLayout + { + BackgroundColor = Color.WhiteSmoke, + HorizontalOptions = LayoutOptions.Center, + VerticalOptions = LayoutOptions.Center + }; + + for (int row=0; row < 8; row++) + { + for (int col=0; col < 8; col++) + { + // Skip every other square + if (((row ^ col) & 1) == 0) + { + continue; + } + + BoxView boxView = new BoxView + { + Color = Color.Black + }; + + // x, y, width, height + Rectangle rect = new Rectangle(col / 7.0, row / 7.0, 1 / 8.0, 1 / 8.0); + + absoluteLayout.Children.Add(boxView, rect, AbsoluteLayoutFlags.All); + } + } + + ContentView contentView = new ContentView + { + Margin = new Thickness(20), + Content = absoluteLayout + }; + contentView.SizeChanged += OnContentViewSizeChanged; + + Title = "Chessboard demo"; + Content = contentView; + } + + void OnContentViewSizeChanged(object sender, EventArgs e) + { + ContentView contentView = sender as ContentView; + double boardSize = Math.Min(contentView.Width, contentView.Height); + absoluteLayout.WidthRequest = boardSize; + absoluteLayout.HeightRequest = boardSize; + } + } +} + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalCoordinateCalcDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalCoordinateCalcDemoPageCS.cs new file mode 100644 index 0000000000..9a0882b55a --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalCoordinateCalcDemoPageCS.cs @@ -0,0 +1,71 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class ProportionalCoordinateCalcDemoPageCS : ContentPage + { + AbsoluteLayout absoluteLayout; + + public ProportionalCoordinateCalcDemoPageCS() + { + absoluteLayout = new AbsoluteLayout + { + BackgroundColor = Color.LightCoral, + HorizontalOptions = LayoutOptions.Center, + VerticalOptions = LayoutOptions.Center + }; + + ContentView contentView = new ContentView + { + Margin = new Thickness(20), + Content = absoluteLayout + }; + contentView.SizeChanged += OnContentViewSizeChanged; + + Rectangle[] fractionalRects = + { + new Rectangle(0.05, 0.1, 0.90, 0.1), // outer top + new Rectangle(0.05, 0.8, 0.90, 0.1), // outer bottom + new Rectangle(0.05, 0.1, 0.05, 0.8), // outer left + new Rectangle(0.90, 0.1, 0.05, 0.8), // outer right + + new Rectangle(0.15, 0.3, 0.70, 0.1), // inner top + new Rectangle(0.15, 0.6, 0.70, 0.1), // inner bottom + new Rectangle(0.15, 0.3, 0.05, 0.4), // inner left + new Rectangle(0.80, 0.3, 0.05, 0.4), // inner right + }; + + foreach (Rectangle fractionalRect in fractionalRects) + { + Rectangle layoutBounds = new Rectangle + { + // Proportional coordinate calculations + X = fractionalRect.X / (1 - fractionalRect.Width), + Y = fractionalRect.Y / (1 - fractionalRect.Height), + Width = fractionalRect.Width, + Height = fractionalRect.Height + }; + + absoluteLayout.Children.Add(new BoxView + { + Color = Color.DarkBlue + }, layoutBounds, AbsoluteLayoutFlags.All); + } + + Title = "Proportional coordinate calculations demo"; + Content = contentView; + } + + void OnContentViewSizeChanged(object sender, EventArgs args) + { + ContentView contentView = (ContentView)sender; + + // Figure has an aspect ratio of 2:1 + double height = Math.Min(contentView.Width / 2, contentView.Height); + absoluteLayout.WidthRequest = 2 * height; + absoluteLayout.HeightRequest = height; + } + } +} + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalDemoPageCS.cs new file mode 100644 index 0000000000..f1fb55620a --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/ProportionalDemoPageCS.cs @@ -0,0 +1,44 @@ +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class ProportionalDemoPageCS : ContentPage + { + public ProportionalDemoPageCS() + { + BoxView blue = new BoxView { Color = Color.Blue }; + AbsoluteLayout.SetLayoutBounds(blue, new Rectangle(0.5, 0, 100, 25)); + AbsoluteLayout.SetLayoutFlags(blue, AbsoluteLayoutFlags.PositionProportional); + + BoxView green = new BoxView { Color = Color.Green }; + AbsoluteLayout.SetLayoutBounds(green, new Rectangle(0, 0.5, 25, 100)); + AbsoluteLayout.SetLayoutFlags(green, AbsoluteLayoutFlags.PositionProportional); + + BoxView red = new BoxView { Color = Color.Red }; + AbsoluteLayout.SetLayoutBounds(red, new Rectangle(1, 0.5, 25, 100)); + AbsoluteLayout.SetLayoutFlags(red, AbsoluteLayoutFlags.PositionProportional); + + BoxView black = new BoxView { Color = Color.Black }; + AbsoluteLayout.SetLayoutBounds(black, new Rectangle(0.5, 1, 100, 25)); + AbsoluteLayout.SetLayoutFlags(black, AbsoluteLayoutFlags.PositionProportional); + + Label label = new Label { Text = "Centered text" }; + AbsoluteLayout.SetLayoutBounds(label, new Rectangle(0.5, 0.5, 110, 25)); + AbsoluteLayout.SetLayoutFlags(label, AbsoluteLayoutFlags.PositionProportional); + + Title = "Proportional demo"; + Content = new AbsoluteLayout + { + Children = + { + blue, + green, + red, + black, + label + } + }; + } + } +} + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/SimpleOverlayDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/SimpleOverlayDemoPageCS.cs new file mode 100644 index 0000000000..c7d3b0a464 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/SimpleOverlayDemoPageCS.cs @@ -0,0 +1,79 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class SimpleOverlayDemoPageCS : ContentPage + { + ContentView overlay; + ProgressBar progressBar; + + public SimpleOverlayDemoPageCS() + { + Button button = new Button { Text = "Simulate 5-second work item" }; + button.Clicked += OnButtonClicked; + + StackLayout stackLayout = new StackLayout + { + Margin = new Thickness(20), + Children = + { + new Label { Text = "This might be a page of UI objects except that the only functional UI object on the page is a Button." }, + button + } + }; + AbsoluteLayout.SetLayoutBounds(stackLayout, new Rectangle(0, 0, 1, 1)); + AbsoluteLayout.SetLayoutFlags(stackLayout, AbsoluteLayoutFlags.All); + + progressBar = new ProgressBar + { + Margin = new Thickness(20), + VerticalOptions = LayoutOptions.Center + }; + + overlay = new ContentView + { + BackgroundColor = Color.FromHex("#C0808080"), + IsVisible = false, + Content = progressBar + }; + AbsoluteLayout.SetLayoutBounds(overlay, new Rectangle(0, 0, 1, 1)); + AbsoluteLayout.SetLayoutFlags(overlay, AbsoluteLayoutFlags.All); + + AbsoluteLayout absoluteLayout = new AbsoluteLayout + { + Children = + { + stackLayout, + overlay + } + }; + + Title = "Simple overlay demo"; + Content = absoluteLayout; + } + + void OnButtonClicked(object sender, EventArgs e) + { + // Show overlay with ProgressBar + overlay.IsVisible = true; + + TimeSpan duration = TimeSpan.FromSeconds(5); + DateTime now = DateTime.Now; + + Device.StartTimer(TimeSpan.FromSeconds(0.1), () => + { + double progress = (DateTime.Now - now).TotalMilliseconds / duration.TotalMilliseconds; + progressBar.Progress = progress; + bool continueTimer = progress < 1; + + if (!continueTimer) + { + overlay.IsVisible = false; + } + return continueTimer; + }); + } + } +} + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/StylishHeaderDemoPageCS.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/StylishHeaderDemoPageCS.cs new file mode 100644 index 0000000000..8bd3502c6b --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/Code/StylishHeaderDemoPageCS.cs @@ -0,0 +1,56 @@ +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public class StylishHeaderDemoPageCS : ContentPage + { + public StylishHeaderDemoPageCS() + { + AbsoluteLayout absoluteLayout = new AbsoluteLayout + { + Margin = new Thickness(20) + }; + + absoluteLayout.Children.Add(new BoxView + { + Color = Color.Silver, + }, new Rectangle(0, 10, 200, 5)); + absoluteLayout.Children.Add(new BoxView + { + Color = Color.Silver + }, new Rectangle(0, 20, 200, 5)); + absoluteLayout.Children.Add(new BoxView + { + Color = Color.Silver + }, new Rectangle(10, 0, 5, 65)); + absoluteLayout.Children.Add(new BoxView + { + Color = Color.Silver + }, new Rectangle(20, 0, 5, 65)); + + absoluteLayout.Children.Add(new Label + { + Text = "Stylish Header", + FontSize = 24 + }, new Point(30,25)); + + absoluteLayout.Children.Add(new Label + { + FormattedText = new FormattedString + { + Spans = + { + new Span { Text = "Although "}, + new Span { Text = "AbsoluteLayout", FontAttributes = FontAttributes.Italic }, + new Span { Text = " is usually employed for purposes other than the display of text using " }, + new Span { Text = "Label", FontAttributes = FontAttributes.Italic }, + new Span { Text = ", obviously it can be used in that way. The text continues to wrap nicely within the bounds of the container and any margin that might be applied." } + } + } + }, new Point(0, 80)); + + Title = "Stylish header demo"; + Content = absoluteLayout; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml new file mode 100644 index 0000000000..667f6b3854 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml @@ -0,0 +1,16 @@ + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml.cs new file mode 100644 index 0000000000..ed905f6d18 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/BouncingTextDemoPage.xaml.cs @@ -0,0 +1,41 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public partial class BouncingTextDemoPage : ContentPage + { + const double period = 2000; + readonly DateTime now = DateTime.Now; + bool isCurrentPage; + + public BouncingTextDemoPage() + { + InitializeComponent(); + } + + protected override void OnAppearing() + { + base.OnAppearing(); + isCurrentPage = true; + + Device.StartTimer(TimeSpan.FromMilliseconds(15), () => + { + TimeSpan elapsed = DateTime.Now - now; + double t = (elapsed.TotalMilliseconds % period) / period; + t = 2 * (t < 0.5 ? t : 1 - t); + + AbsoluteLayout.SetLayoutBounds(label1, new Rectangle(t, 0.5, AbsoluteLayout.AutoSize, AbsoluteLayout.AutoSize)); + AbsoluteLayout.SetLayoutBounds(label2, new Rectangle(0.5, 1-t, AbsoluteLayout.AutoSize, AbsoluteLayout.AutoSize)); + + return isCurrentPage; + }); + } + + protected override void OnDisappearing() + { + base.OnDisappearing(); + isCurrentPage = false; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml new file mode 100644 index 0000000000..1189e8d386 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml.cs new file mode 100644 index 0000000000..7049d66258 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ChessboardDemoPage.xaml.cs @@ -0,0 +1,21 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public partial class ChessboardDemoPage : ContentPage + { + public ChessboardDemoPage() + { + InitializeComponent(); + } + + void OnContentViewSizeChanged(object sender, EventArgs e) + { + ContentView contentView = sender as ContentView; + double boardSize = Math.Min(contentView.Width, contentView.Height); + absoluteLayout.WidthRequest = boardSize; + absoluteLayout.HeightRequest = boardSize; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml new file mode 100644 index 0000000000..5fe2a21a90 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml.cs new file mode 100644 index 0000000000..7def015f05 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/MainPage.xaml.cs @@ -0,0 +1,25 @@ +using System; +using System.Windows.Input; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos +{ + public partial class MainPage : ContentPage + { + public ICommand NavigateCommand { get; private set; } + + public MainPage() + { + InitializeComponent(); + + NavigateCommand = new Command( + async (Type pageType) => + { + Page page = (Page)Activator.CreateInstance(pageType); + await Navigation.PushAsync(page); + }); + + BindingContext = this; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml new file mode 100644 index 0000000000..b8bea4559b --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml @@ -0,0 +1,13 @@ + + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml.cs new file mode 100644 index 0000000000..64754540a1 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalCoordinateCalcDemoPage.xaml.cs @@ -0,0 +1,53 @@ +using System; +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public partial class ProportionalCoordinateCalcDemoPage : ContentPage + { + public ProportionalCoordinateCalcDemoPage() + { + InitializeComponent(); + + Rectangle[] fractionalRects = + { + new Rectangle(0.05, 0.1, 0.90, 0.1), // outer top + new Rectangle(0.05, 0.8, 0.90, 0.1), // outer bottom + new Rectangle(0.05, 0.1, 0.05, 0.8), // outer left + new Rectangle(0.90, 0.1, 0.05, 0.8), // outer right + + new Rectangle(0.15, 0.3, 0.70, 0.1), // inner top + new Rectangle(0.15, 0.6, 0.70, 0.1), // inner bottom + new Rectangle(0.15, 0.3, 0.05, 0.4), // inner left + new Rectangle(0.80, 0.3, 0.05, 0.4), // inner right + }; + + foreach(Rectangle fractionalRect in fractionalRects) + { + Rectangle layoutBounds = new Rectangle + { + // Proportional coordinate calculations + X = fractionalRect.X / (1 - fractionalRect.Width), + Y = fractionalRect.Y / (1 - fractionalRect.Height), + Width = fractionalRect.Width, + Height = fractionalRect.Height + }; + + absoluteLayout.Children.Add(new BoxView + { + Color = Color.DarkBlue + }, layoutBounds, AbsoluteLayoutFlags.All); + } + } + + void OnContentViewSizeChanged(object sender, EventArgs args) + { + ContentView contentView = (ContentView)sender; + + // Figure has an aspect ratio of 2:1 + double height = Math.Min(contentView.Width / 2, contentView.Height); + absoluteLayout.WidthRequest = 2 * height; + absoluteLayout.HeightRequest = height; + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml new file mode 100644 index 0000000000..2a02393b05 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml @@ -0,0 +1,23 @@ + + + + + + + + + diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml.cs b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml.cs new file mode 100644 index 0000000000..46e2c02ec5 --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/ProportionalDemoPage.xaml.cs @@ -0,0 +1,12 @@ +using Xamarin.Forms; + +namespace AbsoluteLayoutDemos.Views +{ + public partial class ProportionalDemoPage : ContentPage + { + public ProportionalDemoPage() + { + InitializeComponent(); + } + } +} diff --git a/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/SimpleOverlayDemoPage.xaml b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/SimpleOverlayDemoPage.xaml new file mode 100644 index 0000000000..92fc0303dd --- /dev/null +++ b/UserInterface/Layout/AbsoluteLayoutDemos/AbsoluteLayoutDemos/Views/XAML/SimpleOverlayDemoPage.xaml @@ -0,0 +1,27 @@ + + + + +