0ef5d401deaeb725ad2734c196e138c135a1d27e
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Theme / DefaultThemeCommon.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #if !PROFILE_WEARABLE
18
19 using System.Diagnostics.CodeAnalysis;
20 using Tizen.NUI.BaseComponents;
21
22 namespace Tizen.NUI.Components
23 {
24     // It is a C# version of res/Tizen.NUI.Components_Tizen.NUI.Theme.Common.xaml
25     internal partial class DefaultThemeCreator : IThemeCreator
26     {
27         [SuppressMessage("Microsoft.Reliability", "CA2000: Dispose objects before losing scope", Justification = "The responsibility to dispose the object is transferred to the theme object.")]
28         public Theme Create()
29         {
30             var theme = new Theme()
31             {
32                 Id = Tizen.NUI.DefaultThemeCreator.DefaultId,
33                 Version = Tizen.NUI.DefaultThemeCreator.DefaultVersion
34             };
35
36             theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
37             {
38                 Size = new Size(339, 96),
39                 CornerRadiusPolicy = VisualTransformPolicyType.Relative,
40                 CornerRadius = 0.2916f,
41                 ItemAlignment = LinearLayout.Alignment.Center,
42                 BackgroundColor = new Selector<Color>()
43                 {
44                     Normal = new Color(0.039f, 0.055f, 0.29f, 1),
45                     Pressed = new Color(0.106f, 0.412f, 0.792f, 1),
46                     Focused = new Color(0, 0.2f, 0.545f, 1),
47                     Disabled = new Color(0.765f, 0.792f, 0.824f, 1),
48                 },
49                 Text = new TextLabelStyle()
50                 {
51                     PixelSize = 32,
52                     TextColor = Color.White,
53                 }
54             });
55
56             theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
57             {
58                 ItemSpacing = new Size2D(32, 32),
59                 ItemAlignment = LinearLayout.Alignment.Begin,
60                 Icon = new ImageViewStyle()
61                 {
62                     Size = new Size(36, 36),
63                     ResourceUrl = new Selector<string>()
64                     {
65                         Normal = FrameworkInformation.ResourcePath + "IoT_check_off.svg",
66                         Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.svg",
67                         Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.svg",
68                         Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.svg",
69                         Selected = FrameworkInformation.ResourcePath + "IoT_check_on.svg",
70                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.svg",
71                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.svg",
72                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.svg",
73                     },
74                 },
75                 Text = new TextLabelStyle()
76                 {
77                     PixelSize = 32,
78                     TextColor = new Color("#001447")
79                 }
80             });
81
82             theme.AddStyleWithoutClone("Tizen.NUI.Components.Popup", new PopupStyle()
83             {
84                 Size = new Size(500, 280),
85                 BackgroundColor = new Color(0.9f, 0.9f, 0.9f, 1),
86                 ImageShadow = new ImageShadow()
87                 {
88                     Url = FrameworkInformation.ResourcePath + "nui_component_default_popup_shadow.png",
89                     Border = new Rectangle(24, 24, 24, 24),
90                     Extents = new Vector2(48, 48)
91                 },
92                 Title = new TextLabelStyle()
93                 {
94                     PointSize = 16,
95                     Padding = new Extents(20, 20, 20, 20),
96                 },
97                 Buttons = new ButtonStyle()
98                 {
99                     Size = new Size(0, 80),
100                     BackgroundColor = new Selector<Color>()
101                     {
102                         Normal = new Color(1, 1, 1, 1),
103                         Pressed = new Color(1, 1, 1, 0.5f),
104                     },
105                     Overlay = new ImageViewStyle()
106                     {
107                         BackgroundColor = new Selector<Color>()
108                         {
109                             Pressed = new Color(0, 0, 0, 0.1f),
110                             Other = new Color(1, 1, 1, 0.1f),
111                         },
112                     },
113                     Text = new TextLabelStyle()
114                     {
115                         TextColor = new Color(0.05f, 0.63f, 0.9f, 1),
116                     }
117                 }
118             });
119
120             theme.AddStyleWithoutClone("Tizen.NUI.Components.Progress", new ProgressStyle()
121             {
122                 Size = new Size(200, 5),
123                 Track = new ImageViewStyle()
124                 {
125                     BackgroundColor = new Color(0, 0, 0, 0.1f),
126                 },
127                 Buffer = new ImageViewStyle()
128                 {
129                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 0.3f),
130                 },
131                 Progress = new ImageViewStyle()
132                 {
133                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 1),
134                 },
135             });
136
137             theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
138             {
139                 ItemSpacing = new Size2D(32, 32),
140                 ItemAlignment = LinearLayout.Alignment.Begin,
141                 Icon = new ImageViewStyle()
142                 {
143                     Size = new Size(36, 36),
144                     ResourceUrl = new Selector<string>()
145                     {
146                         Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.svg",
147                         Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.svg",
148                         Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.svg",
149                         Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.svg",
150                         Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.svg",
151                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.svg",
152                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.svg",
153                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.svg",
154                     },
155                 },
156                 Text = new TextLabelStyle()
157                 {
158                     PixelSize = 32,
159                     TextColor = new Color("#001447")
160                 }
161             });
162
163             theme.AddStyleWithoutClone("Tizen.NUI.Components.Slider", new SliderStyle()
164             {
165                 Size = new Size(200, 50),
166                 TrackThickness = 5,
167                 Track = new ImageViewStyle()
168                 {
169                     BackgroundColor = new Color(0, 0, 0, 0.1f),
170                 },
171                 Progress = new ImageViewStyle()
172                 {
173                     BackgroundColor = new Color(0.5f, 0.63f, 0.9f, 1),
174                 },
175                 Thumb = new ImageViewStyle()
176                 {
177                     Size = new Size(50, 50),
178                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_n.png",
179                     BackgroundImage = new Selector<string>()
180                     {
181                         Normal = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
182                         Pressed = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
183                     }
184                 },
185                 ValueIndicatorImage = new ImageViewStyle()
186                 {
187                     Size = new Size(83, 54),
188                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_value_indicator.png",
189                 },
190             });
191
192             theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
193             {
194                 ItemSpacing = new Size2D(32, 32),
195                 ItemAlignment = LinearLayout.Alignment.Begin,
196                 Track = new ImageViewStyle()
197                 {
198                     Size = new Size(80, 40),
199                     ResourceUrl = new Selector<string>()
200                     {
201                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.svg",
202                         Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.svg",
203                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.svg",
204                         Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.svg",
205                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.svg",
206                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.svg",
207                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.svg",
208                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.svg",
209                     },
210                 },
211                 Thumb = new ImageViewStyle()
212                 {
213                     Size = new Size(40, 40),
214                     ResourceUrl = new Selector<string>()
215                     {
216                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.svg",
217                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.svg",
218                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.svg",
219                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.svg",
220                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.svg",
221                     }
222                 },
223                 Text = new TextLabelStyle()
224                 {
225                     PixelSize = 32,
226                     TextColor = new Color("#001447")
227                 }
228             });
229
230             theme.AddStyleWithoutClone("Tizen.NUI.Components.Loading", new LoadingStyle()
231             {
232                 LoadingSize = new Size(100, 100),
233             });
234
235             theme.AddStyleWithoutClone("Tizen.NUI.Components.Pagination", new PaginationStyle()
236             {
237                 IndicatorImageUrl = new Selector<string>()
238                 {
239                     Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
240                     Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
241                 },
242                 IndicatorSize = new Size(10, 10),
243             });
244
245             theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
246             {
247                 TrackThickness = 14,
248                 ThumbThickness = 14,
249                 TrackColor = new Color(0f, 0f, 0f, 0f),
250                 ThumbColor = new Color("#0A0E4AFF"),
251                 TrackPadding = 4,
252                 ThumbVerticalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_vbar.#.png",
253                 ThumbHorizontalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_hbar.#.png",
254             });
255
256             theme.AddStyleWithoutClone("Tizen.NUI.Components.RecyclerViewItem", new RecyclerViewItemStyle()
257             {
258                 BackgroundColor = new Selector<Color>()
259                 {
260                     Normal = new Color(1, 1, 1, 1),
261                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
262                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
263                     Selected = new Color(0.701f, 0.898f, 0.937f, 1),
264                 },
265             });
266
267             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
268             {
269                 SizeHeight = 108,
270                 Padding = new Extents(64, 64, 18, 17),
271                 BackgroundColor = new Selector<Color>()
272                 {
273                     Normal = new Color(1, 1, 1, 1),
274                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
275                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
276                     Selected = new Color(0.85f, 0.85f, 0.85f, 1),
277                 },
278                 Label = new TextLabelStyle()
279                 {
280                     PixelSize = 32,
281                     Ellipsis = true,
282                     FontFamily = "BreezeSans", //FXIME Font Weight is Light
283                     TextColor = new Color("#001447FF"),
284                 },
285                 SubLabel = new TextLabelStyle()
286                 {
287                     PixelSize = 28,
288                     Ellipsis = true,
289                     FontFamily = "BreezeSans",
290                     TextColor = new Color("#001447FF"),
291                 },
292                 Icon = new ViewStyle()
293                 {
294                     Margin = new Extents(0, 32, 0, 0)
295                 },
296                 Extra = new ViewStyle()
297                 {
298                     Margin = new Extents(32, 0, 0, 0)
299                 },
300                 Seperator = new ViewStyle()
301                 {
302                     SizeHeight = 1,
303                     Margin = new Extents(64, 64, 0, 0),
304                     BackgroundColor = new Color("#C3CAD2FF"),
305                 },
306             });
307             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultGridItem", new DefaultGridItemStyle()
308             {
309                 Padding = new Extents(5, 5, 5, 5),
310                 Caption = new TextLabelStyle()
311                 {
312                     SizeHeight = 60,
313                     PixelSize = 24,
314                     LineWrapMode = LineWrapMode.Character,
315                 },
316                 Badge = new ViewStyle()
317                 {
318                     Margin = new Extents(5, 5, 5, 5),
319                 },
320             });
321
322             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultTitleItem", new DefaultTitleItemStyle()
323             {
324                 SizeHeight = 60,
325                 Padding = new Extents(64, 64, 12, 12),
326                 BackgroundColor = new Selector<Color>()
327                 {
328                     Normal = new Color("#EEEEF1FF"),
329                 },
330                 Label = new TextLabelStyle()
331                 {
332                     PixelSize = 28,
333                     Ellipsis = true,
334                     TextColor = new Color("#001447FF"),
335                 },
336                 Icon = new ViewStyle()
337                 {
338                     Margin = new Extents(40, 0, 0, 0)
339                 },
340                 Seperator = new ViewStyle()
341                 {
342                     Margin = new Extents(0, 0, 0, 0),
343                     BackgroundColor = new Color(0, 0, 0, 0),
344                 },
345             });
346
347             theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
348             {
349                 Size = new Size(-1, 120),
350                 BackgroundColor = new Color("#EEEFF1FF"),
351                 BackButton = new ButtonStyle()
352                 {
353                     Size = new Size(48, 48),
354                     CornerRadius = 0,
355                     BackgroundColor = new Color(0, 0, 0, 0),
356                     Icon = new ImageViewStyle()
357                     {
358                         Size = new Size(48, 48),
359                         ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
360                         Color = new Selector<Color>()
361                         {
362                             Normal = new Color("#0A0E4AFF"),
363                             Focused = new Color("#00338BFF"),
364                             Pressed = new Color("#1B69CAFF"),
365                             Disabled = new Color("#C3CAD2FF"),
366                         },
367                     },
368                 },
369                 TitleTextLabel = new TextLabelStyle()
370                 {
371                     PixelSize = 40,
372                     VerticalAlignment = VerticalAlignment.Center,
373                     TextColor = new Selector<Color>()
374                     {
375                         Normal = new Color("#000C2BFF"),
376                     }
377                 },
378                 ActionView = new ViewStyle()
379                 {
380                     Size = new Size(-1, 48),
381                     CornerRadius = 0,
382                     BackgroundColor = new Color(0, 0, 0, 0),
383                 },
384                 ActionButton = new ButtonStyle()
385                 {
386                     Size = new Size(-1, 48),
387                     CornerRadius = 0,
388                     BackgroundColor = new Color(0, 0, 0, 0),
389                     Text = new TextLabelStyle()
390                     {
391                         PixelSize = 26,
392                         TextColor = new Selector<Color>()
393                         {
394                             Normal = new Color("#0A0E4AFF"),
395                             Focused = new Color("#00338BFF"),
396                             Pressed = new Color("#1B69CAFF"),
397                             Disabled = new Color("#C3CAD2FF"),
398                         },
399                     },
400                     Icon = new ImageViewStyle()
401                     {
402                         Size = new Size(-1, 48),
403                         Color = new Selector<Color>()
404                         {
405                             Normal = new Color("#0A0E4AFF"),
406                             Focused = new Color("#00338BFF"),
407                             Pressed = new Color("#1B69CAFF"),
408                             Disabled = new Color("#C3CAD2FF"),
409                         },
410                     },
411                 },
412                 Padding = new Extents(64, 64, 0, 0),
413                 NavigationPadding = new Extents(0, 24, 0, 0),
414                 ActionPadding = new Extents(40, 0, 0, 0),
415                 ActionCellPadding = new Size2D(40, 0),
416             });
417
418             theme.AddStyleWithoutClone("Tizen.NUI.Components.Picker", new PickerStyle()
419             {
420                 Size = new Size(160, 339),
421                 ItemTextLabel = new TextLabelStyle()
422                 {
423                     //FIXME: Should be check PointSize. given size from UX is too large.
424                     PixelSize = 32,
425                     VerticalAlignment = VerticalAlignment.Center,
426                     HorizontalAlignment = HorizontalAlignment.Center,
427                     Size = new Size(0,72),
428                     TextColor = new Selector<Color>()
429                     {
430                         Normal = new Color("#000C2BFF"),
431                     },
432                     BackgroundColor = Color.White,
433                 },
434                 Divider = new ViewStyle()
435                 {
436                     SizeHeight = 2.0f,
437                     WidthResizePolicy = ResizePolicyType.FillToParent,
438                     Position = new Position(0, 132),
439                     BackgroundColor = new Color("#0A0E4AFF"),
440                 },
441                 StartScrollOffset = new Size(0, 12),
442             });
443
444             theme.AddStyleWithoutClone("Tizen.NUI.Components.TabButton", new TabButtonStyle()
445             {
446                 Size = new Size(-1, 84),
447                 CornerRadius = 0,
448                 BackgroundColor = Color.White,
449                 Text = new TextLabelStyle()
450                 {
451                     PixelSize = 28,
452                     Size = new Size(-2, -2),
453                     TextColor = new Selector<Color>()
454                     {
455                         Normal = new Color("#000C2BFF"),
456                         Selected = new Color("#000C2BFF"),
457                         Pressed = new Color("#1473E6FF"),
458                         Disabled = new Color("#C3CAD2FF"),
459                     },
460                 },
461                 Icon = new ImageViewStyle()
462                 {
463                     Size = new Size(48, 48),
464                     Color = new Selector<Color>()
465                     {
466                         Normal = new Color("#000C2BFF"),
467                         Selected = new Color("#000C2BFF"),
468                         Pressed = new Color("#1473E6FF"),
469                         Disabled = new Color("#C3CAD2FF"),
470                     },
471                 },
472                 TopLine = new ViewStyle()
473                 {
474                     Size = new Size(-1, 1),
475                     BackgroundColor = new Selector<Color>()
476                     {
477                         Normal = new Color("#000C2BFF"),
478                         Selected = new Color("#000C2BFF"),
479                         Pressed = new Color("#1473E6FF"),
480                         Disabled = new Color("#C3CAD2FF"),
481                     },
482                 },
483                 BottomLine = new ViewStyle()
484                 {
485                     Size = new Size(-1, 8),
486                     Position = new Position(0, 76), // 84 - 8
487                     BackgroundColor = new Selector<Color>()
488                     {
489                         Normal = Color.Transparent,
490                         Selected = new Color("#000C2BFF"),
491                         Pressed = new Color("#1473E6FF"),
492                         Disabled = Color.Transparent,
493                     },
494                 },
495             });
496
497             theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle()
498             {
499                 BackgroundImage = FrameworkInformation.ResourcePath + "IoT_Toast_1.png",
500                 BackgroundImageBorder = new Rectangle(28, 28, 28, 28),
501                 TextColor = new Color("#000C2B"),
502                 PixelSize = 32,
503                 WidthResizePolicy = ResizePolicyType.UseNaturalSize,
504                 HeightResizePolicy = ResizePolicyType.UseNaturalSize,
505                 PositionUsesPivotPoint = true,
506                 HorizontalAlignment = HorizontalAlignment.Center,
507                 VerticalAlignment = VerticalAlignment.Center,
508                 Padding = new Extents(40, 40, 24, 24),
509                 PositionY = 120,
510             });
511
512             theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
513             {
514                 Size = new Size(-2, -2),
515                 Padding = new Extents(80, 80, 0, 0),
516                 BackgroundImage = FrameworkInformation.ResourcePath + "nui_component_default_dialog_bg.#.png",
517                 TitleTextLabel = new TextLabelStyle()
518                 {
519                     Size = new Size(1024, -2),
520                     Margin = new Extents(0, 0, 40, 40),
521                     PixelSize = 40,
522                     HorizontalAlignment = HorizontalAlignment.Center,
523                     VerticalAlignment = VerticalAlignment.Center,
524                     TextColor = new Selector<Color>()
525                     {
526                         Normal = new Color("#000C2BFF"),
527                     },
528                 },
529                 MessageTextLabel = new TextLabelStyle()
530                 {
531                     Size = new Size(1024, -2),
532                     Margin = new Extents(0, 0, 0, 64),
533                     PixelSize = 32,
534                     MultiLine = true,
535                     HorizontalAlignment = HorizontalAlignment.Center,
536                     VerticalAlignment = VerticalAlignment.Center,
537                     TextColor = new Selector<Color>()
538                     {
539                         Normal = new Color("#000C2BFF"),
540                     },
541                 },
542                 ActionContent = new ViewStyle()
543                 {
544                     Size = new Size(1024, -2),
545                 },
546             });
547
548             theme.AddStyleWithoutClone("Tizen.NUI.Components.TimePicker", new TimePickerStyle()
549             {
550                 CellPadding = new Size(50, 339),
551
552                 Pickers = new PickerStyle()
553                 {
554                     Size = new Size(160, 339),
555                     ItemTextLabel = new TextLabelStyle()
556                     {
557                         //FIXME: Should be check PointSize. given size from UX is too large.
558                         PixelSize = 32,
559                         VerticalAlignment = VerticalAlignment.Center,
560                         HorizontalAlignment = HorizontalAlignment.Center,
561                         Size = new Size(0,72),
562                         TextColor = new Selector<Color>()
563                         {
564                             Normal = new Color("#000C2BFF"),
565                         },
566                         BackgroundColor = Color.White,
567                     },
568                     Divider = new ViewStyle()
569                     {
570                         SizeHeight = 2.0f,
571                         WidthResizePolicy = ResizePolicyType.FillToParent,
572                         Position = new Position(0, 132),
573                         BackgroundColor = new Color("#0A0E4AFF"),
574                     },
575                     StartScrollOffset = new Size2D(0, 12),
576                 }
577             });
578
579             theme.AddStyleWithoutClone("Tizen.NUI.Components.DatePicker", new DatePickerStyle()
580             {
581                 CellPadding = new Size(50, 339),
582
583                 Pickers = new PickerStyle()
584                 {
585                     Size = new Size(160, 339),
586                     ItemTextLabel = new TextLabelStyle()
587                     {
588                         //FIXME: Should be check PointSize. given size from UX is too large.
589                         PixelSize = 32,
590                         VerticalAlignment = VerticalAlignment.Center,
591                         HorizontalAlignment = HorizontalAlignment.Center,
592                         Size = new Size(0,72),
593                         TextColor = new Selector<Color>()
594                         {
595                             Normal = new Color("#000C2BFF"),
596                         },
597                         BackgroundColor = Color.White,
598                     },
599                     Divider = new ViewStyle()
600                     {
601                         SizeHeight = 2.0f,
602                         WidthResizePolicy = ResizePolicyType.FillToParent,
603                         Position = new Position(0, 132),
604                         BackgroundColor = new Color("#0A0E4AFF"),
605                     },
606                     StartScrollOffset = new Size2D(0, 12),
607                 }
608             });
609
610             return theme;
611         }
612     }
613 }
614
615 #endif