-
Notifications
You must be signed in to change notification settings - Fork 3
/
EntryStyles.xaml
108 lines (96 loc) · 5.71 KB
/
EntryStyles.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:global="clr-namespace:Global.InputForms;assembly=Global.InputForms"
x:Class="SampleApp.Styles.EntryStyles">
<Style TargetType="global:EntryLayout" Class="BesiegedEntry"
ApplyToDerivedTypes="true">
<Setter Property="EntryLayoutType" Value="Besieged" />
<Setter Property="InfoViewType" Value="Surrounded" />
<Setter Property="LabelTextColor" Value="#207093" />
<Setter Property="LabelHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="LabelFontSize" Value="14" />
<Setter Property="FloatingLabel" Value="True" />
<Setter Property="FloatingInfo" Value="True" />
<Setter Property="BorderColor" Value="#207093" />
<Setter Property="BorderHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="EntryBackgroundColor" Value="{StaticResource LightBackgroundColor}" />
<Setter Property="EntryHeightRequest" Value="40" />
<Setter Property="EntryFontSize" Value="17" />
<Setter Property="EntryFontAttributes" Value="None" />
<Setter Property="EntryTextColor" Value="#207093" />
<Setter Property="EntryPlaceholderColor" Value="#9B9B9B" />
<Setter Property="CornerRadius" Value="5" />
<Setter Property="LabelMargin" Value="10,0,10,0" />
<Setter Property="EntryMargin" Value="10,0,10,0" />
<Setter Property="LineMargin" Value="0,0,10,0" />
<Setter Property="InfoMargin" Value="10,0,10,0" />
</Style>
<Style TargetType="global:EntryLayout" Class="BesiegedEntryOverlaLabel"
ApplyToDerivedTypes="true">
<Setter Property="EntryLayoutType" Value="Besieged" />
<Setter Property="InfoViewType" Value="Surrounded" />
<Setter Property="LabelTextColor" Value="#207093" />
<Setter Property="LabelHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="LabelFontSize" Value="14" />
<Setter Property="LabelBackgroundColor" Value="WhiteSmoke" />
<Setter Property="FloatingLabel" Value="True" />
<Setter Property="FloatingInfo" Value="True" />
<Setter Property="BorderColor" Value="#207093" />
<Setter Property="BorderHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="EntryBackgroundColor" Value="WhiteSmoke" />
<Setter Property="EntryHeightRequest" Value="40" />
<Setter Property="EntryFontSize" Value="17" />
<Setter Property="EntryFontAttributes" Value="None" />
<Setter Property="EntryTextColor" Value="#207093" />
<Setter Property="EntryPlaceholderColor" Value="#9B9B9B" />
<Setter Property="CornerRadius" Value="5" />
<Setter Property="FrameMargin" Value="0,14,0,0" />
<Setter Property="LabelMargin" Value="10,0,10,0" />
<Setter Property="EntryMargin" Value="10,0,10,0" />
<Setter Property="LineMargin" Value="0,0,10,0" />
<Setter Property="InfoMargin" Value="10,0,10,0" />
</Style>
<Style TargetType="global:EntryLayout" Class="RoundedEntry"
ApplyToDerivedTypes="true">
<Setter Property="EntryLayoutType" Value="Surrounded" />
<Setter Property="InfoViewType" Value="Surrounded" />
<Setter Property="LabelTextColor" Value="#207093" />
<Setter Property="LabelHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="LabelFontSize" Value="14" />
<Setter Property="FloatingLabel" Value="True" />
<Setter Property="FloatingInfo" Value="True" />
<Setter Property="BorderColor" Value="#207093" />
<Setter Property="BorderHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="EntryBackgroundColor" Value="{StaticResource LightBackgroundColor}" />
<Setter Property="EntryHeightRequest" Value="40" />
<Setter Property="EntryFontSize" Value="17" />
<Setter Property="EntryFontAttributes" Value="None" />
<Setter Property="EntryTextColor" Value="#207093" />
<Setter Property="EntryPlaceholderColor" Value="#9B9B9B" />
<Setter Property="CornerRadius" Value="15" />
<Setter Property="LabelMargin" Value="15,0,15,0" />
<Setter Property="EntryMargin" Value="15,0,15,0" />
<Setter Property="LineMargin" Value="15,0,15,0" />
<Setter Property="InfoMargin" Value="15,0,15,0" />
</Style>
<Style TargetType="global:EntryLayout" Class="LineEntry"
ApplyToDerivedTypes="true">
<Setter Property="EntryLayoutType" Value="Line" />
<Setter Property="InfoViewType" Value="Line" />
<Setter Property="LabelTextColor" Value="#207093" />
<Setter Property="LabelHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="LabelFontSize" Value="14" />
<Setter Property="FloatingLabel" Value="True" />
<Setter Property="FloatingInfo" Value="True" />
<Setter Property="EntryBackgroundColor" Value="{StaticResource LightBackgroundColor}" />
<Setter Property="EntryHeightRequest" Value="40" />
<Setter Property="EntryFontSize" Value="17" />
<Setter Property="EntryFontAttributes" Value="None" />
<Setter Property="EntryTextColor" Value="#207093" />
<Setter Property="EntryPlaceholderColor" Value="#9B9B9B" />
<Setter Property="LineColor" Value="Gray" />
<Setter Property="LineHighlightedColor" Value="{StaticResource PrimaryColor}" />
<Setter Property="CornerRadius" Value="0" />
</Style>
</ResourceDictionary>