[NUI] Update reviews for IndeterminateImageUrl
[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                 IndeterminateImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png",
136             });
137
138             theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
139             {
140                 ItemSpacing = new Size2D(32, 32),
141                 ItemAlignment = LinearLayout.Alignment.Begin,
142                 Icon = new ImageViewStyle()
143                 {
144                     Size = new Size(36, 36),
145                     ResourceUrl = new Selector<string>()
146                     {
147                         Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.svg",
148                         Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.svg",
149                         Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.svg",
150                         Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.svg",
151                         Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.svg",
152                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.svg",
153                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.svg",
154                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.svg",
155                     },
156                 },
157                 Text = new TextLabelStyle()
158                 {
159                     PixelSize = 32,
160                     TextColor = new Color("#001447")
161                 }
162             });
163
164             theme.AddStyleWithoutClone("Tizen.NUI.Components.Slider", new SliderStyle()
165             {
166                 Size = new Size(200, 50),
167                 TrackThickness = 5,
168                 Track = new ImageViewStyle()
169                 {
170                     BackgroundColor = new Color(0, 0, 0, 0.1f),
171                 },
172                 Progress = new ImageViewStyle()
173                 {
174                     BackgroundColor = new Color(0.5f, 0.63f, 0.9f, 1),
175                 },
176                 Thumb = new ImageViewStyle()
177                 {
178                     Size = new Size(50, 50),
179                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_n.png",
180                     BackgroundImage = new Selector<string>()
181                     {
182                         Normal = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
183                         Pressed = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
184                     }
185                 },
186                 ValueIndicatorImage = new ImageViewStyle()
187                 {
188                     Size = new Size(83, 54),
189                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_value_indicator.png",
190                 },
191             });
192
193             theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
194             {
195                 ItemSpacing = new Size2D(32, 32),
196                 ItemAlignment = LinearLayout.Alignment.Begin,
197                 Track = new ImageViewStyle()
198                 {
199                     Size = new Size(80, 40),
200                     ResourceUrl = new Selector<string>()
201                     {
202                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.svg",
203                         Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.svg",
204                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.svg",
205                         Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.svg",
206                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.svg",
207                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.svg",
208                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.svg",
209                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.svg",
210                     },
211                 },
212                 Thumb = new ImageViewStyle()
213                 {
214                     Size = new Size(40, 40),
215                     ResourceUrl = new Selector<string>()
216                     {
217                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.svg",
218                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.svg",
219                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.svg",
220                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.svg",
221                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.svg",
222                     }
223                 },
224                 Text = new TextLabelStyle()
225                 {
226                     PixelSize = 32,
227                     TextColor = new Color("#001447")
228                 }
229             });
230
231             theme.AddStyleWithoutClone("Tizen.NUI.Components.Loading", new LoadingStyle()
232             {
233                 LoadingSize = new Size(100, 100),
234             });
235
236             theme.AddStyleWithoutClone("Tizen.NUI.Components.Pagination", new PaginationStyle()
237             {
238                 IndicatorImageUrl = new Selector<string>()
239                 {
240                     Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
241                     Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
242                 },
243                 IndicatorSize = new Size(10, 10),
244             });
245
246             theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
247             {
248                 TrackThickness = 12,
249                 ThumbThickness = 12,
250                 TrackColor = new Color(0f, 0f, 0f, 0f),
251                 ThumbColor = new Color("#0A0E4AFF"),
252                 TrackPadding = 4,
253                 ThumbVerticalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_vbar.#.png",
254                 ThumbHorizontalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_hbar.#.png",
255             });
256
257             theme.AddStyleWithoutClone("Tizen.NUI.Components.RecyclerViewItem", new RecyclerViewItemStyle()
258             {
259                 BackgroundColor = new Selector<Color>()
260                 {
261                     Normal = new Color(1, 1, 1, 1),
262                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
263                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
264                     Selected = new Color(0.701f, 0.898f, 0.937f, 1),
265                 },
266             });
267
268             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
269             {
270                 SizeHeight = 108,
271                 Padding = new Extents(64, 64, 18, 17),
272                 BackgroundColor = new Selector<Color>()
273                 {
274                     Normal = new Color(1, 1, 1, 1),
275                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
276                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
277                     Selected = new Color(0.85f, 0.85f, 0.85f, 1),
278                 },
279                 Label = new TextLabelStyle()
280                 {
281                     PixelSize = 32,
282                     Ellipsis = true,
283                     FontFamily = "BreezeSans", //FXIME Font Weight is Light
284                     TextColor = new Color("#001447FF"),
285                 },
286                 SubLabel = new TextLabelStyle()
287                 {
288                     PixelSize = 28,
289                     Ellipsis = true,
290                     FontFamily = "BreezeSans",
291                     TextColor = new Color("#001447FF"),
292                 },
293                 Icon = new ViewStyle()
294                 {
295                     Margin = new Extents(0, 32, 0, 0)
296                 },
297                 Extra = new ViewStyle()
298                 {
299                     Margin = new Extents(32, 0, 0, 0)
300                 },
301                 Seperator = new ViewStyle()
302                 {
303                     SizeHeight = 1,
304                     Margin = new Extents(64, 64, 0, 0),
305                     BackgroundColor = new Color("#C3CAD2FF"),
306                 },
307             });
308             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultGridItem", new DefaultGridItemStyle()
309             {
310                 Padding = new Extents(5, 5, 5, 5),
311                 Caption = new TextLabelStyle()
312                 {
313                     SizeHeight = 60,
314                     PixelSize = 24,
315                     LineWrapMode = LineWrapMode.Character,
316                 },
317                 Badge = new ViewStyle()
318                 {
319                     Margin = new Extents(5, 5, 5, 5),
320                 },
321             });
322
323             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultTitleItem", new DefaultTitleItemStyle()
324             {
325                 SizeHeight = 60,
326                 Padding = new Extents(64, 64, 12, 12),
327                 BackgroundColor = new Selector<Color>()
328                 {
329                     Normal = new Color("#EEEEF1FF"),
330                 },
331                 Label = new TextLabelStyle()
332                 {
333                     PixelSize = 28,
334                     Ellipsis = true,
335                     TextColor = new Color("#001447FF"),
336                 },
337                 Icon = new ViewStyle()
338                 {
339                     Margin = new Extents(40, 0, 0, 0)
340                 },
341                 Seperator = new ViewStyle()
342                 {
343                     Margin = new Extents(0, 0, 0, 0),
344                     BackgroundColor = new Color(0, 0, 0, 0),
345                 },
346             });
347
348             theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
349             {
350                 Size = new Size(-1, 120),
351                 BackgroundColor = new Color("#EEEFF1FF"),
352                 BackButton = new ButtonStyle()
353                 {
354                     Size = new Size(48, 48),
355                     CornerRadius = 0,
356                     BackgroundColor = new Color(0, 0, 0, 0),
357                     Icon = new ImageViewStyle()
358                     {
359                         Size = new Size(48, 48),
360                         ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
361                         Color = new Selector<Color>()
362                         {
363                             Normal = new Color("#0A0E4AFF"),
364                             Focused = new Color("#00338BFF"),
365                             Pressed = new Color("#1B69CAFF"),
366                             Disabled = new Color("#C3CAD2FF"),
367                         },
368                     },
369                 },
370                 TitleTextLabel = new TextLabelStyle()
371                 {
372                     PixelSize = 40,
373                     VerticalAlignment = VerticalAlignment.Center,
374                     TextColor = new Selector<Color>()
375                     {
376                         Normal = new Color("#000C2BFF"),
377                     }
378                 },
379                 ActionView = new ViewStyle()
380                 {
381                     Size = new Size(-1, 48),
382                     CornerRadius = 0,
383                     BackgroundColor = new Color(0, 0, 0, 0),
384                 },
385                 ActionButton = new ButtonStyle()
386                 {
387                     Size = new Size(-1, 48),
388                     CornerRadius = 0,
389                     BackgroundColor = new Color(0, 0, 0, 0),
390                     Text = new TextLabelStyle()
391                     {
392                         PixelSize = 26,
393                         TextColor = new Selector<Color>()
394                         {
395                             Normal = new Color("#0A0E4AFF"),
396                             Focused = new Color("#00338BFF"),
397                             Pressed = new Color("#1B69CAFF"),
398                             Disabled = new Color("#C3CAD2FF"),
399                         },
400                     },
401                     Icon = new ImageViewStyle()
402                     {
403                         Size = new Size(-1, 48),
404                         Color = new Selector<Color>()
405                         {
406                             Normal = new Color("#0A0E4AFF"),
407                             Focused = new Color("#00338BFF"),
408                             Pressed = new Color("#1B69CAFF"),
409                             Disabled = new Color("#C3CAD2FF"),
410                         },
411                     },
412                 },
413                 Padding = new Extents(64, 64, 0, 0),
414                 NavigationPadding = new Extents(0, 24, 0, 0),
415                 ActionPadding = new Extents(40, 0, 0, 0),
416                 ActionCellPadding = new Size2D(40, 0),
417             });
418
419             theme.AddStyleWithoutClone("Tizen.NUI.Components.Picker", new PickerStyle()
420             {
421                 Size = new Size(160, 339),
422                 ItemTextLabel = new TextLabelStyle()
423                 {
424                     //FIXME: Should be check PointSize. given size from UX is too large.
425                     PixelSize = 32,
426                     VerticalAlignment = VerticalAlignment.Center,
427                     HorizontalAlignment = HorizontalAlignment.Center,
428                     Size = new Size(0,72),
429                     TextColor = new Selector<Color>()
430                     {
431                         Normal = new Color("#000C2BFF"),
432                     },
433                     BackgroundColor = Color.White,
434                 },
435                 Divider = new ViewStyle()
436                 {
437                     SizeHeight = 2.0f,
438                     WidthResizePolicy = ResizePolicyType.FillToParent,
439                     Position = new Position(0, 132),
440                     BackgroundColor = new Color("#0A0E4AFF"),
441                 },
442                 StartScrollOffset = new Size(0, 12),
443             });
444
445             theme.AddStyleWithoutClone("Tizen.NUI.Components.TabButton", new TabButtonStyle()
446             {
447                 Size = new Size(-1, 84),
448                 CornerRadius = 0,
449                 BackgroundColor = Color.White,
450                 Text = new TextLabelStyle()
451                 {
452                     PixelSize = 28,
453                     Size = new Size(-2, -2),
454                     TextColor = new Selector<Color>()
455                     {
456                         Normal = new Color("#000C2BFF"),
457                         Selected = new Color("#000C2BFF"),
458                         Pressed = new Color("#1473E6FF"),
459                         Disabled = new Color("#C3CAD2FF"),
460                     },
461                 },
462                 Icon = new ImageViewStyle()
463                 {
464                     Size = new Size(48, 48),
465                     Color = new Selector<Color>()
466                     {
467                         Normal = new Color("#000C2BFF"),
468                         Selected = new Color("#000C2BFF"),
469                         Pressed = new Color("#1473E6FF"),
470                         Disabled = new Color("#C3CAD2FF"),
471                     },
472                 },
473                 TopLine = new ViewStyle()
474                 {
475                     Size = new Size(-1, 1),
476                     BackgroundColor = new Selector<Color>()
477                     {
478                         Normal = new Color("#000C2BFF"),
479                         Selected = new Color("#000C2BFF"),
480                         Pressed = new Color("#1473E6FF"),
481                         Disabled = new Color("#C3CAD2FF"),
482                     },
483                 },
484                 BottomLine = new ViewStyle()
485                 {
486                     Size = new Size(-1, 8),
487                     Position = new Position(0, 76), // 84 - 8
488                     BackgroundColor = new Selector<Color>()
489                     {
490                         Normal = Color.Transparent,
491                         Selected = new Color("#000C2BFF"),
492                         Pressed = new Color("#1473E6FF"),
493                         Disabled = Color.Transparent,
494                     },
495                 },
496             });
497
498             theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle()
499             {
500                 BackgroundImage = FrameworkInformation.ResourcePath + "IoT_Toast_1.png",
501                 BackgroundImageBorder = new Rectangle(28, 28, 28, 28),
502                 TextColor = new Color("#000C2B"),
503                 PixelSize = 32,
504                 WidthResizePolicy = ResizePolicyType.UseNaturalSize,
505                 HeightResizePolicy = ResizePolicyType.UseNaturalSize,
506                 PositionUsesPivotPoint = true,
507                 HorizontalAlignment = HorizontalAlignment.Center,
508                 VerticalAlignment = VerticalAlignment.Center,
509                 Padding = new Extents(40, 40, 24, 24),
510                 PositionY = 120,
511             });
512
513             theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
514             {
515                 Size = new Size(-2, -2),
516                 Padding = new Extents(80, 80, 0, 0),
517                 BackgroundImage = FrameworkInformation.ResourcePath + "nui_component_default_dialog_bg.#.png",
518                 TitleTextLabel = new TextLabelStyle()
519                 {
520                     Size = new Size(1024, -2),
521                     Margin = new Extents(0, 0, 40, 40),
522                     PixelSize = 40,
523                     HorizontalAlignment = HorizontalAlignment.Center,
524                     VerticalAlignment = VerticalAlignment.Center,
525                     TextColor = new Selector<Color>()
526                     {
527                         Normal = new Color("#000C2BFF"),
528                     },
529                 },
530                 MessageTextLabel = new TextLabelStyle()
531                 {
532                     Size = new Size(1024, -2),
533                     Margin = new Extents(0, 0, 0, 64),
534                     PixelSize = 32,
535                     MultiLine = true,
536                     HorizontalAlignment = HorizontalAlignment.Center,
537                     VerticalAlignment = VerticalAlignment.Center,
538                     TextColor = new Selector<Color>()
539                     {
540                         Normal = new Color("#000C2BFF"),
541                     },
542                 },
543                 ActionContent = new ViewStyle()
544                 {
545                     Size = new Size(1024, -2),
546                 },
547             });
548
549             theme.AddStyleWithoutClone("Tizen.NUI.Components.TimePicker", new TimePickerStyle()
550             {
551                 CellPadding = new Size(50, 339),
552
553                 Pickers = new PickerStyle()
554                 {
555                     Size = new Size(160, 339),
556                     ItemTextLabel = new TextLabelStyle()
557                     {
558                         //FIXME: Should be check PointSize. given size from UX is too large.
559                         PixelSize = 32,
560                         VerticalAlignment = VerticalAlignment.Center,
561                         HorizontalAlignment = HorizontalAlignment.Center,
562                         Size = new Size(0,72),
563                         TextColor = new Selector<Color>()
564                         {
565                             Normal = new Color("#000C2BFF"),
566                         },
567                         BackgroundColor = Color.White,
568                     },
569                     Divider = new ViewStyle()
570                     {
571                         SizeHeight = 2.0f,
572                         WidthResizePolicy = ResizePolicyType.FillToParent,
573                         Position = new Position(0, 132),
574                         BackgroundColor = new Color("#0A0E4AFF"),
575                     },
576                     StartScrollOffset = new Size2D(0, 12),
577                 }
578             });
579
580             theme.AddStyleWithoutClone("Tizen.NUI.Components.DatePicker", new DatePickerStyle()
581             {
582                 CellPadding = new Size(50, 339),
583
584                 Pickers = new PickerStyle()
585                 {
586                     Size = new Size(160, 339),
587                     ItemTextLabel = new TextLabelStyle()
588                     {
589                         //FIXME: Should be check PointSize. given size from UX is too large.
590                         PixelSize = 32,
591                         VerticalAlignment = VerticalAlignment.Center,
592                         HorizontalAlignment = HorizontalAlignment.Center,
593                         Size = new Size(0,72),
594                         TextColor = new Selector<Color>()
595                         {
596                             Normal = new Color("#000C2BFF"),
597                         },
598                         BackgroundColor = Color.White,
599                     },
600                     Divider = new ViewStyle()
601                     {
602                         SizeHeight = 2.0f,
603                         WidthResizePolicy = ResizePolicyType.FillToParent,
604                         Position = new Position(0, 132),
605                         BackgroundColor = new Color("#0A0E4AFF"),
606                     },
607                     StartScrollOffset = new Size2D(0, 12),
608                 }
609             });
610
611             return theme;
612         }
613     }
614 }
615
616 #endif