|
34 | 34 | <Color x:Key="AndroidListViewBackgroundColor">Transparent</Color> |
35 | 35 | <Color x:Key="iOSListViewBackgroundColor">Transparent</Color> |
36 | 36 |
|
37 | | - <OnPlatform |
38 | | - x:TypeArguments="Color" |
39 | | - x:Key="ActivityIndicatorColor" |
40 | | - iOS="{ StaticResource iOSDefaultTintColor }" /> |
| 37 | + <OnPlatform x:TypeArguments="Color" |
| 38 | + x:Key="ActivityIndicatorColor"> |
| 39 | + <On Platform="iOS" Value="{ StaticResource iOSDefaultTintColor }" /> |
| 40 | + </OnPlatform> |
41 | 41 |
|
42 | | - <OnPlatform |
43 | | - x:TypeArguments="Color" |
44 | | - x:Key="DefaultButtonClassBackgroundColor" |
45 | | - Android="{ StaticResource AndroidDefaultButtonClassBackgroundColor }" |
46 | | - iOS="{ StaticResource iOSDefaultButtonClassBackgroundColor }" /> |
| 42 | + <OnPlatform x:TypeArguments="Color" |
| 43 | + x:Key="DefaultButtonClassBackgroundColor"> |
| 44 | + <On Platform="iOS" Value="{ StaticResource iOSDefaultButtonClassBackgroundColor }" /> |
| 45 | + <On Platform="Android" Value="{ StaticResource AndroidDefaultButtonClassBackgroundColor }" /> |
| 46 | + </OnPlatform> |
47 | 47 |
|
48 | | - <OnPlatform |
49 | | - x:TypeArguments="Color" |
50 | | - x:Key="DefaultButtonClassBorderColor" |
51 | | - Android="{ StaticResource AndroidDefaultButtonClassBorderColor }" |
52 | | - iOS="{ StaticResource iOSDefaultButtonClassBorderColor }" /> |
| 48 | + <OnPlatform x:TypeArguments="Color" |
| 49 | + x:Key="DefaultButtonClassBorderColor"> |
| 50 | + <On Platform="iOS" Value="{ StaticResource iOSDefaultButtonClassBorderColor }" /> |
| 51 | + <On Platform="Android" Value="{ StaticResource AndroidDefaultButtonClassBorderColor }" /> |
| 52 | + </OnPlatform> |
53 | 53 |
|
54 | | - <OnPlatform |
55 | | - x:TypeArguments="Color" |
56 | | - x:Key="DefaultButtonClassTextColor" |
57 | | - Android="{ StaticResource AndroidDefaultButtonClassTextColor }" |
58 | | - iOS="{ StaticResource iOSDefaultButtonClassTextColor }" /> |
| 54 | + <OnPlatform x:TypeArguments="Color" |
| 55 | + x:Key="DefaultButtonClassTextColor"> |
| 56 | + <On Platform="iOS" Value="{ StaticResource iOSDefaultButtonClassTextColor }" /> |
| 57 | + <On Platform="Android" Value="{ StaticResource AndroidDefaultButtonClassTextColor }" /> |
| 58 | + </OnPlatform> |
59 | 59 |
|
60 | | - <OnPlatform |
61 | | - x:TypeArguments="Color" |
62 | | - x:Key="EntryBackgroundColor" |
63 | | - Android="{ StaticResource AndroidEntryBackgroundColor }" |
64 | | - iOS="{ StaticResource iOSEntryBackgroundColor }" /> |
| 60 | + <OnPlatform x:TypeArguments="Color" |
| 61 | + x:Key="EntryBackgroundColor"> |
| 62 | + <On Platform="iOS" Value="{ StaticResource iOSEntryBackgroundColor }" /> |
| 63 | + <On Platform="Android" Value="{ StaticResource AndroidEntryBackgroundColor }" /> |
| 64 | + </OnPlatform> |
65 | 65 |
|
66 | | - <OnPlatform |
67 | | - x:TypeArguments="Color" |
68 | | - x:Key="ThemeListViewBackgroundColor" |
69 | | - Android="{ StaticResource AndroidListViewBackgroundColor }" |
70 | | - iOS="{ StaticResource iOSListViewBackgroundColor }" /> |
| 66 | + <OnPlatform x:TypeArguments="Color" |
| 67 | + x:Key="ThemeListViewBackgroundColor"> |
| 68 | + <On Platform="iOS" Value="{ StaticResource iOSListViewBackgroundColor }" /> |
| 69 | + <On Platform="Android" Value="{ StaticResource AndroidListViewBackgroundColor }" /> |
| 70 | + </OnPlatform> |
71 | 71 |
|
72 | 72 | <!-- SIZES --> |
73 | | - <OnPlatform |
74 | | - x:TypeArguments="x:Double" |
75 | | - x:Key="BaseButtonBorderRadius" |
76 | | - iOS="6" /> |
| 73 | + <OnPlatform x:TypeArguments="x:Double" |
| 74 | + x:Key="BaseButtonBorderRadius"> |
| 75 | + <On Platform="iOS" Value="6" /> |
| 76 | + </OnPlatform> |
77 | 77 |
|
78 | | - <OnPlatform |
79 | | - x:TypeArguments="x:Double" |
80 | | - x:Key="BaseButtonBorderWidth" |
81 | | - Android="0" |
82 | | - iOS="0" /> |
| 78 | + <OnPlatform x:TypeArguments="x:Double" |
| 79 | + x:Key="BaseButtonBorderWidth"> |
| 80 | + <On Platform="iOS, Android" Value="0" /> |
| 81 | + </OnPlatform> |
83 | 82 |
|
84 | 83 | <!-- FONTS --> |
85 | | - <OnPlatform |
86 | | - x:Key="MontserratRegular" |
87 | | - x:TypeArguments="x:String" |
88 | | - iOS="Montserrat-Regular" |
89 | | - Android="Montserrat-Regular.ttf#Montserrat" |
90 | | - WinPhone="Assets/Fonts/Montserrat-Regular.ttf#Montserrat"/> |
| 84 | + <OnPlatform x:Key="MontserratRegular" |
| 85 | + x:TypeArguments="x:String"> |
| 86 | + <On Platform="iOS" Value="Montserrat-Regular" /> |
| 87 | + <On Platform="Android" Value="Montserrat-Regular.ttf#Montserrat" /> |
| 88 | + <On Platform="UWP, WinRT, WinPhone" Value="Assets/Fonts/Montserrat-Regular.ttf#Montserrat" /> |
| 89 | + </OnPlatform> |
91 | 90 |
|
92 | | - <OnPlatform |
93 | | - x:Key="MontserratBold" |
94 | | - x:TypeArguments="x:String" |
95 | | - iOS="Montserrat-Bold" |
96 | | - Android="Montserrat-Bold.ttf#Montserrat" |
97 | | - WinPhone="Assets/Fonts/Montserrat-Bold.ttf#Montserrat"/> |
| 91 | + <OnPlatform x:Key="MontserratBold" |
| 92 | + x:TypeArguments="x:String"> |
| 93 | + <On Platform="iOS" Value="Montserrat-Bold" /> |
| 94 | + <On Platform="Android" Value="Montserrat-Bold.ttf#Montserrat" /> |
| 95 | + <On Platform="UWP, WinRT, WinPhone" Value="Assets/Fonts/Montserrat-Bold.ttf#Montserrat" /> |
| 96 | + </OnPlatform> |
98 | 97 |
|
99 | | - <OnPlatform |
100 | | - x:Key="SourceSansProRegular" |
101 | | - x:TypeArguments="x:String" |
102 | | - iOS="SourceSansPro-Regular" |
103 | | - Android="SourceSansPro-Regular.ttf#Source Sans Pro" |
104 | | - WinPhone="Assets/Fonts/SourceSansPro-Regular.ttf#Source Sans Pro"/> |
| 98 | + <OnPlatform x:Key="SourceSansProRegular" |
| 99 | + x:TypeArguments="x:String"> |
| 100 | + <On Platform="iOS" Value="SourceSansPro-Regular" /> |
| 101 | + <On Platform="Android" Value="SourceSansPro-Regular.ttf#Source Sans Pro" /> |
| 102 | + <On Platform="UWP, WinRT, WinPhone" Value="Assets/Fonts/SourceSansPro-Regular.ttf#Source Sans Pro" /> |
| 103 | + </OnPlatform> |
105 | 104 |
|
106 | | - <OnPlatform |
107 | | - x:TypeArguments="x:Double" |
108 | | - x:Key="BaseButtonFontSize" |
109 | | - Android="16" |
110 | | - iOS="18" /> |
| 105 | + <OnPlatform x:TypeArguments="x:Double" |
| 106 | + x:Key="BaseButtonFontSize"> |
| 107 | + <On Platform="iOS" Value="18" /> |
| 108 | + <On Platform="Android" Value="16" /> |
| 109 | + </OnPlatform> |
111 | 110 |
|
112 | | - <OnPlatform |
113 | | - x:TypeArguments="x:Double" |
114 | | - x:Key="BaseFontSize" |
115 | | - Android="15" |
116 | | - iOS="16" /> |
| 111 | + <OnPlatform x:TypeArguments="x:Double" |
| 112 | + x:Key="BaseFontSize"> |
| 113 | + <On Platform="iOS" Value="16" /> |
| 114 | + <On Platform="Android" Value="15" /> |
| 115 | + </OnPlatform> |
117 | 116 |
|
118 | | - <OnPlatform |
119 | | - x:Key="LittleSize" |
120 | | - x:TypeArguments="x:Double" |
121 | | - iOS="11" |
122 | | - Android="12" |
123 | | - WinPhone="12"/> |
| 117 | + <OnPlatform x:Key="LittleSize" |
| 118 | + x:TypeArguments="x:Double"> |
| 119 | + <On Platform="iOS" Value="11" /> |
| 120 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="12" /> |
| 121 | + </OnPlatform> |
124 | 122 |
|
125 | | - <OnPlatform |
126 | | - x:Key="MidMediumSize" |
127 | | - x:TypeArguments="x:Double" |
128 | | - iOS="12" |
129 | | - Android="14" |
130 | | - WinPhone="14"/> |
| 123 | + <OnPlatform x:Key="MidMediumSize" |
| 124 | + x:TypeArguments="x:Double"> |
| 125 | + <On Platform="iOS" Value="12" /> |
| 126 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="14" /> |
| 127 | + </OnPlatform> |
131 | 128 |
|
132 | | - <OnPlatform |
133 | | - x:Key="MediumSize" |
134 | | - x:TypeArguments="x:Double" |
135 | | - iOS="14" |
136 | | - Android="16" |
137 | | - WinPhone="16"/> |
| 129 | + <OnPlatform x:Key="MediumSize" |
| 130 | + x:TypeArguments="x:Double"> |
| 131 | + <On Platform="iOS" Value="14" /> |
| 132 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="16" /> |
| 133 | + </OnPlatform> |
138 | 134 |
|
139 | | - <OnPlatform |
140 | | - x:Key="LargeSize" |
141 | | - x:TypeArguments="x:Double" |
142 | | - iOS="16" |
143 | | - Android="18" |
144 | | - WinPhone="18"/> |
| 135 | + <OnPlatform x:Key="LargeSize" |
| 136 | + x:TypeArguments="x:Double"> |
| 137 | + <On Platform="iOS" Value="16" /> |
| 138 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="18" /> |
| 139 | + </OnPlatform> |
145 | 140 |
|
146 | | - <OnPlatform |
147 | | - x:Key="LargerSize" |
148 | | - x:TypeArguments="x:Double" |
149 | | - iOS="18" |
150 | | - Android="20" |
151 | | - WinPhone="20"/> |
| 141 | + <OnPlatform x:Key="LargerSize" |
| 142 | + x:TypeArguments="x:Double"> |
| 143 | + <On Platform="iOS" Value="18" /> |
| 144 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="20" /> |
| 145 | + </OnPlatform> |
152 | 146 |
|
153 | | - <OnPlatform |
154 | | - x:Key="BigSize" |
155 | | - x:TypeArguments="x:Double" |
156 | | - iOS="20" |
157 | | - Android="24" |
158 | | - WinPhone="24"/> |
| 147 | + <OnPlatform x:Key="BigSize" |
| 148 | + x:TypeArguments="x:Double"> |
| 149 | + <On Platform="iOS" Value="20" /> |
| 150 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="24" /> |
| 151 | + </OnPlatform> |
159 | 152 |
|
160 | | - <OnPlatform |
161 | | - x:Key="ExtraBigSize" |
162 | | - x:TypeArguments="x:Double" |
163 | | - iOS="24" |
164 | | - Android="32" |
165 | | - WinPhone="32"/> |
| 153 | + <OnPlatform x:Key="ExtraBigSize" |
| 154 | + x:TypeArguments="x:Double"> |
| 155 | + <On Platform="iOS" Value="24" /> |
| 156 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="32" /> |
| 157 | + </OnPlatform> |
166 | 158 |
|
167 | | - <OnPlatform |
168 | | - x:Key="HugeSize" |
169 | | - x:TypeArguments="x:Double" |
170 | | - iOS="32" |
171 | | - Android="48" |
172 | | - WinPhone="48"/> |
| 159 | + <OnPlatform x:Key="HugeSize" |
| 160 | + x:TypeArguments="x:Double"> |
| 161 | + <On Platform="iOS" Value="32" /> |
| 162 | + <On Platform="Android, UWP, WinRT, WinPhone" Value="48" /> |
| 163 | + </OnPlatform> |
173 | 164 |
|
174 | | - <OnPlatform |
175 | | - x:TypeArguments="FontAttributes" |
176 | | - x:Key="BaseButtonFontAttributes" |
177 | | - Android="None" |
178 | | - iOS="Bold" /> |
| 165 | + <OnPlatform x:TypeArguments="FontAttributes" |
| 166 | + x:Key="BaseButtonFontAttributes"> |
| 167 | + <On Platform="iOS" Value="Bold" /> |
| 168 | + <On Platform="Android" Value="None" /> |
| 169 | + </OnPlatform> |
179 | 170 |
|
180 | 171 | <!-- CONVERTERS --> |
181 | 172 | <converters:CountToBoolConverter x:Key="CountToBoolConverter" /> |
|
0 commit comments