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
<!-- Inspired from http://dkdevelopment.net/2018/06/24/xamarin-forms-responsive-xaml-properties/ --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="MyApp.MainPage" | |
xmlns:extensions="clr-namespace:MyApp.Extensions;assembly=MyApp"> | |
<ContentPage.Resources> | |
<!--Do it as part of a style--> | |
<Style x:Key="ButtonLayoutStyle" TargetType="StackLayout"> | |
<Setter Property="Spacing"> |
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
using Android.Content; | |
using Android.Graphics.Drawables; | |
using MyApp.Controls; | |
using MyApp.Droid.Renderers; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.Android; | |
[assembly: ExportRenderer(typeof(CustomFrame), typeof(CustomFrameRenderer))] | |
namespace MyApp.Droid.Renderers | |
{ |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" | |
xmlns:local="clr-namespace:PhantomLib" | |
xmlns:extensions="clr-namespace:PhantomLib.Extensions;assembly=PhantomLib" | |
xmlns:controls="clr-namespace:PhantomLib.CustomControls;assembly=PhantomLib" | |
xmlns:effects="clr-namespace:PhantomLib.Effects;assembly=PhantomLib" | |
xmlns:behaviors="clr-namespace:PhantomLib.Behaviors;assembly=PhantomLib" | |
xmlns:localvms="clr-namespace:PhantomLibSamples.ViewModels;assembly=PhantomLibSamples" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" | |
xmlns:local="clr-namespace:PhantomLib" | |
xmlns:extensions="clr-namespace:PhantomLib.Extensions;assembly=PhantomLib" | |
xmlns:controls="clr-namespace:PhantomLib.CustomControls;assembly=PhantomLib" | |
xmlns:effects="clr-namespace:PhantomLib.Effects;assembly=PhantomLib" | |
xmlns:behaviors="clr-namespace:PhantomLib.Behaviors;assembly=PhantomLib" | |
xmlns:localvms="clr-namespace:PhantomLibSamples.ViewModels;assembly=PhantomLibSamples" |
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
<controls:UltimateEntry Style="{StaticResource MaterialEntry}" | |
ImageSource="icon_lock_open" | |
HidePasswordImageSource="icon_lock_close" | |
ImageButton="Password" | |
ReturnButton="Done" /> |
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
<controls:UltimateEntry Placeholder="Country" | |
UnderlineColor="{DynamicResource AccentColor}" | |
Style="{StaticResource NonMaterialEntry}" /> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" | |
xmlns:local="clr-namespace:PhantomLib" | |
xmlns:extensions="clr-namespace:PhantomLib.Extensions;assembly=PhantomLib" | |
xmlns:controls="clr-namespace:PhantomLib.CustomControls;assembly=PhantomLib" | |
xmlns:effects="clr-namespace:PhantomLib.Effects;assembly=PhantomLib" | |
xmlns:behaviors="clr-namespace:PhantomLib.Behaviors;assembly=PhantomLib" | |
xmlns:localvms="clr-namespace:PhantomLibSamples.ViewModels;assembly=PhantomLibSamples" |