public AlbumDetailLayout(int width = 832, int height = 108) : base()\r
{\r
base.OnInitialize();\r
- base.IsCreateByXaml = true;\r
WidthSpecification = width;\r
HeightSpecification = height;\r
- Size2D = new Size2D(width, height);\r
+ Size2D = new Size2D(width, height).DpToPx();\r
// to show the rounded rect of the bg\r
BackgroundColor = Color.Transparent;\r
\r
{\r
TextLabel titleLabel = new TextLabel()\r
{\r
- Size2D = new Size2D(596, 40),\r
- PixelSize = 32,\r
+ Size2D = new Size2D(596, 40).DpToPx(),\r
+ PixelSize = 32.DpToPx(),\r
FontFamily = "BreezeSans",\r
HorizontalAlignment = HorizontalAlignment.Begin,\r
VerticalAlignment = VerticalAlignment.Center,\r
- Padding=new Extents(LayoutPadding,0,0,0),\r
+ Padding = new Extents(LayoutPadding,0,0,0).DpToPx(),\r
FontStyle = UIFontStyles.NormalLight,\r
- Position2D = new Position2D(X , LayoutMargin),\r
+ Position2D = new Position2D(X , LayoutMargin).DpToPx(),\r
};\r
base.Add(titleLabel);\r
return titleLabel;\r
{\r
TextLabel subtitleLabel = new TextLabel()\r
{\r
- Size2D= new Size2D(596,36),\r
- PixelSize = 28,\r
+ Size2D= new Size2D(596,36).DpToPx(),\r
+ PixelSize = 28.DpToPx(),\r
FontFamily = "BreezeSans",\r
HorizontalAlignment = HorizontalAlignment.Begin,\r
VerticalAlignment = VerticalAlignment.Center,\r
- Padding = new Extents(LayoutPadding, 0, 0, 0),\r
+ Padding = new Extents(LayoutPadding, 0, 0, 0).DpToPx(),\r
FontStyle = UIFontStyles.AllNormal,\r
- Position2D = new Position2D(X , LayoutMargin + 40)\r
+ Position2D = new Position2D(X, LayoutMargin + 40).DpToPx()\r
};\r
base.Add(subtitleLabel);\r
return subtitleLabel;\r
{\r
TextLabel additionalLabel = new TextLabel()\r
{\r
- Size2D= new Size2D(108,36),\r
- PixelSize = 28,\r
+ Size2D= new Size2D(108,36).DpToPx(),\r
+ PixelSize = 28.DpToPx(),\r
FontFamily = "BreezeSans",\r
VerticalAlignment = VerticalAlignment.Center,\r
HorizontalAlignment = HorizontalAlignment.End,\r
FontStyle = UIFontStyles.AllNormal,\r
- Position2D = new Position2D(width-LayoutPadding-LeftPadding-108, 36)\r
+ Position2D = new Position2D(width-LayoutPadding-LeftPadding-108, 36).DpToPx()\r
};\r
base.Add(additionalLabel);\r
return additionalLabel;\r
{\r
View itemSeperator = new View()\r
{\r
- Size2D = new Size2D(width, SeperatorHeight),\r
+ Size2D = new Size2D(width, SeperatorHeight).DpToPx(),\r
ExcludeLayouting = true,\r
- Position2D = new Position2D(X , height - SeperatorHeight),\r
+ Position2D = new Position2D(X , height - SeperatorHeight).DpToPx(),\r
BackgroundColor = UIColors.ItemSeperator,\r
};\r
base.Add(itemSeperator);\r
{\r
StyleName = "LabelText",\r
ThemeChangeSensitive = true,\r
- PixelSize = 28,\r
+ PixelSize = 28.DpToPx(),\r
Text = "ALBUM COUNT",\r
HorizontalAlignment = HorizontalAlignment.Begin,\r
VerticalAlignment = VerticalAlignment.Center,\r
Height = height;
WidthSpecification = Width;
HeightSpecification = Height;
- Size2D = new Size2D(Width, Height);
+ Size2D = new Size2D(Width, Height).DpToPx();
// to show the rounded rect of the bg
BackgroundColor = Color.Transparent;
ThemeChangeSensitive = true;
{
ImageView icon = new ImageView()
{
- Size2D = new Size2D(IconSize, IconSize),
- IsCreateByXaml = true,
- Position2D = new Position2D(x, (Height / 2) - (IconSize / 2)),
+ Size2D = new Size2D(IconSize, IconSize).DpToPx(),
+ Position2D = new Position2D(x, (Height / 2) - (IconSize / 2)).DpToPx(),
};
base.Add(icon);
return icon;
{
View itemSeperator = new View()
{
- Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight),
+ Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight).DpToPx(),
ExcludeLayouting = true,
- Position2D = new Position2D(x, Height - SeperatorHeight),
+ Position2D = new Position2D(x, Height - SeperatorHeight).DpToPx(),
BackgroundColor = UIColors.ItemSeperator,
};
base.Add(itemSeperator);
{
StyleName = "ItemLabel",
ThemeChangeSensitive = true,
- Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 40),
- PixelSize = 32,
+ Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 40).DpToPx(),
+ PixelSize = 32.DpToPx(),
FontFamily = "BreezeSans",
VerticalAlignment = VerticalAlignment.Center,
- IsCreateByXaml = true,
- Position2D = new Position2D(x + IconSize + LayoutPadding, 34),
+ Position2D = new Position2D(x + IconSize + LayoutPadding, 34).DpToPx(),
};
base.Add(titleLabel);
return titleLabel;
Height = height;
WidthSpecification = Width;
HeightSpecification = Height;
- Size2D = new Size2D(Width, Height);
+ Size2D = new Size2D(Width, Height).DpToPx();
// to show the rounded rect of the bg
BackgroundColor = Color.Transparent;
{
View itemSeperator = new View()
{
- Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight),
+ Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight).DpToPx(),
ExcludeLayouting = true,
- Position2D = new Position2D(x, Height - SeperatorHeight),
+ Position2D = new Position2D(x, Height - SeperatorHeight).DpToPx(),
BackgroundColor = UIColors.ItemSeperator,
};
base.Add(itemSeperator);
{
TextLabel titleLabel = new TextLabel()
{
- Size2D = new Size2D(1272, 40),
- PixelSize = 32,
+ Size2D = new Size2D(1272, 40).DpToPx(),
+ PixelSize = 32.DpToPx(),
FontFamily = "BreezeSans",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
FontStyle = UIFontStyles.NormalLight,
- Position2D = new Position2D(x, 34),
+ Position2D = new Position2D(x, 34).DpToPx(),
};
base.Add(titleLabel);
return titleLabel;
{
TextLabel extraLabel = new TextLabel()
{
- Size2D = new Size2D(360, 36),
- PixelSize = 28,
+ Size2D = new Size2D(360, 36).DpToPx(),
+ PixelSize = 28.DpToPx(),
FontFamily = "BreezeSans",
VerticalAlignment = VerticalAlignment.Center,
HorizontalAlignment = HorizontalAlignment.End,
FontStyle = UIFontStyles.AllNormal,
- Position2D = new Position2D((x + 1272 + LayoutPadding), 36)
+ Position2D = new Position2D((x + 1272 + LayoutPadding), 36).DpToPx()
};
base.Add(extraLabel);
return extraLabel;
{
StyleName = "LabelText",
ThemeChangeSensitive = true,
- PixelSize = 28,
+ PixelSize = 28.DpToPx(),
Text = "ARTIST COUNT",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
HeightResizePolicy = ResizePolicyType.FillToParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
WidthSpecification = LayoutParamPolicies.MatchParent,
- Layout = new FlexLayout()
+ Layout = new LinearLayout()
{
- Direction = FlexLayout.FlexDirection.Column,
- Padding = new Extents(64, 64, 0, 0),
+ LinearOrientation = LinearLayout.Orientation.Vertical,
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
},
};
base.Add(contentViewContainer);
{
ThemeChangeSensitive = true,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 60,
+ HeightSpecification = 60.DpToPx(),
Layout = new RelativeLayout()
{
- Padding = new Extents(0, 0, 6, 6),
+ Padding = new Extents(0, 0, 6, 6).DpToPx(),
},
};
contentViewContainer.Add(titleView);
- FlexLayout.SetFlexGrow(titleView, 0);
- FlexLayout.SetFlexShrink(titleView, 0);
collectionView = new CollectionView()
{
ThemeChangeSensitive = true,
StyleName = "ListBackground",
- Size2D = new Size2D(1792, 108),
+ Size2D = new Size2D(1792, 108).DpToPx(),
Margin = new Extents(0, 0, 0, 2),
ItemsLayouter = new LinearLayouter(),
ScrollingDirection = ScrollableBase.Direction.Vertical,
collectionView.HideScrollbar = true;
};
contentViewContainer.Add(collectionView);
- FlexLayout.SetFlexGrow(collectionView, 1);
- FlexLayout.SetFlexShrink(collectionView, 1);
subContentViewContainer = new View()
{
Layout = new LinearLayout()
{
LinearOrientation = LinearLayout.Orientation.Vertical,
- LinearAlignment = LinearLayout.Alignment.Top,
- Padding = new Extents(64, 64, 0, 0),
+ VerticalAlignment = VerticalAlignment.Top,
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
},
BackgroundColor = Color.Transparent,
WidthResizePolicy = ResizePolicyType.FillToParent,
topView = new View()
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 60,
+ HeightSpecification = 60.DpToPx(),
Layout = new RelativeLayout()
{
- Padding = new Extents(0, 0, 6, 6),
+ Padding = new Extents(0, 0, 6, 6).DpToPx(),
},
};
listContainer.Add(topView);
{
StyleName = "LabelText",
ThemeChangeSensitive = true,
- PixelSize = 28,
+ PixelSize = 28.DpToPx(),
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
FontFamily = "BreezeSans",
playAllWithShuffle = new Button("ShuffleButton")
{
ThemeChangeSensitive = true,
- Margin = new Extents(32, 40, 0, 0),
+ Margin = new Extents(32, 40, 0, 0).DpToPx(),
};
topView.Add(playAllWithShuffle);
playAllWithShuffle.Clicked += (object sender, ClickedEventArgs e) =>
{
ThemeChangeSensitive = true,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 120,
+ HeightSpecification = 120.DpToPx(),
Layout = new RelativeLayout()
{
- Padding = new Extents(64, 64, 30, 30),
+ Padding = new Extents(64, 64, 30, 30).DpToPx(),
},
};
base.Add(topView);
StyleName = "PageLabel",
ThemeChangeSensitive = true,
Text = "Music",
- PixelSize = 40,
+ PixelSize = 40.DpToPx(),
FontFamily = "BreezeSans",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
tabs = new Tab("Tabs")
{
ThemeChangeSensitive = true,
- Size2D = new Size2D(Window.Instance.Size.Width, 84),
+ Size2D = new Size2D(Window.Instance.Size.Width, 84).DpToPx(),
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 84,
+ HeightSpecification = 84.DpToPx(),
};
base.Add(tabs);
for(int i = 0; i<4; ++i)
backButton = new Button("BackButton")
{
ThemeChangeSensitive = true,
- Size2D = new Size2D(48, 48),
- Margin = new Extents(0, 24, 6, 6),
+ Size2D = new Size2D(48, 48).DpToPx(),
+ Margin = new Extents(0, 24, 6, 6).DpToPx(),
};
backButton.Clicked += OnBackButtonClicked;
moreButton = new Button("MoreButton")
{
ThemeChangeSensitive = true,
- Margin = new Extents(32, 0, 6, 6),
+ Margin = new Extents(32, 0, 6, 6).DpToPx(),
};
topView.Add(moreButton);
RelativeLayout.SetLeftRelativeOffset(moreButton, 1.0f);
searchButton = new Button("SearchButton")
{
ThemeChangeSensitive = true,
- Margin = new Extents(24, 0, 0, 0),
+ Margin = new Extents(24, 0, 0, 0).DpToPx(),
};
topView.Add(searchButton);
RelativeLayout.SetRightTarget(searchButton, moreButton);
AnimationRequired = animationRequired;\r
WidthSpecification = Width;\r
HeightSpecification = Height;\r
- Size2D = new Size2D(Width, Height);\r
+ Size2D = new Size2D(Width, Height).DpToPx();\r
// to show the rounded rect of the bg\r
BackgroundColor = Color.Transparent;\r
\r
icon = new ImageView()\r
{\r
- Size2D = new Size2D(IconSize, IconSize),\r
- Position2D = new Position2D(x, ((Height / 2) - (IconSize / 2))),\r
+ Size2D = new Size2D(IconSize, IconSize).DpToPx(),\r
+ Position2D = new Position2D(x, ((Height / 2) - (IconSize / 2))).DpToPx(),\r
};\r
base.Add(icon);\r
\r
itemSeperator = new View()\r
{\r
- Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight),\r
+ Size2D = new Size2D((Width - (2 * LeftPadding)), SeperatorHeight).DpToPx(),\r
ExcludeLayouting = true,\r
- Position2D = new Position2D(x, Height - SeperatorHeight),\r
+ Position2D = new Position2D(x, Height - SeperatorHeight).DpToPx(),\r
BackgroundColor = UIColors.ItemSeperator,\r
};\r
base.Add(itemSeperator);\r
\r
titleLabel = new TextLabel()\r
{\r
- Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 40),\r
- PixelSize = 32,\r
+ Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 40).DpToPx(),\r
+ PixelSize = 32.DpToPx(),\r
FontFamily = "BreezeSans",\r
VerticalAlignment = VerticalAlignment.Center,\r
- Position2D = new Position2D((x + IconSize + LayoutPadding), LayoutMargin),\r
+ Position2D = new Position2D((x + IconSize + LayoutPadding), LayoutMargin).DpToPx(),\r
};\r
titleLabel.FontStyle = UIFontStyles.NormalLight;\r
base.Add(titleLabel);\r
\r
subtitleLabel = new TextLabel()\r
{\r
- Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 36),\r
- PixelSize = 28,\r
+ Size2D = new Size2D((Width - (2 * LeftPadding) - IconSize - LayoutPadding), 36).DpToPx(),\r
+ PixelSize = 28.DpToPx(),\r
FontFamily = "BreezeSans",\r
VerticalAlignment = VerticalAlignment.Center,\r
- Position2D = new Position2D((x + IconSize + LayoutPadding), LayoutMargin + 40)\r
+ Position2D = new Position2D((x + IconSize + LayoutPadding), LayoutMargin + 40).DpToPx(),\r
};\r
subtitleLabel.FontStyle = UIFontStyles.AllNormal;\r
base.Add(subtitleLabel);\r
{\r
if(currentValue)\r
{\r
- Tizen.Log.Error(AppConstants.LogTag, "Adding animation/play-pause icon and setting highlight color");\r
- if(titleLabel != null && subtitleLabel != null)\r
+ Tizen.Log.Debug(AppConstants.LogTag, "Adding animation/play-pause icon and setting highlight color");\r
+ if(titleLabel != null)\r
{\r
titleLabel.TextColor = UIColors.HEX1473E6;\r
+ }\r
+ if(subtitleLabel != null)\r
+ {\r
subtitleLabel.TextColor = UIColors.HEX1473E6;\r
}\r
if(AnimationRequired == true && isAnimating == false)\r
}\r
else\r
{\r
- Tizen.Log.Error(AppConstants.LogTag, "Remove animation/play-pause icon and setting normal color");\r
+ Tizen.Log.Debug(AppConstants.LogTag, "Remove animation/play-pause icon and setting normal color");\r
UpdateLabelColors();\r
if(AnimationRequired == true && isAnimating)\r
{\r
string currentPlatformThemeId = ThemeManager.PlatformThemeId;\r
if (currentPlatformThemeId.Equals(AppConstants.LightPlatformThemeId))\r
{\r
- if(titleLabel != null && subtitleLabel != null)\r
+ if(titleLabel != null)\r
{\r
titleLabel.TextColor = UIColors.HEX001447;\r
+ }\r
+ if(subtitleLabel != null)\r
+ {\r
subtitleLabel.TextColor = UIColors.HEX001447;\r
}\r
}\r
else if(currentPlatformThemeId.Equals(AppConstants.DarkPlatformThemeId))\r
{\r
- if(titleLabel != null && subtitleLabel != null)\r
+ if(titleLabel != null)\r
{\r
titleLabel.TextColor = Color.White;\r
+ }\r
+ if(subtitleLabel != null)\r
+ {\r
subtitleLabel.TextColor = Color.White;\r
}\r
}\r
AddSelectPlaylistCancelButton();
selectPlaylistDialog = new AlertDialog()
{
- Size2D = new Size2D(1184, 660),
+ Size2D = new Size2D(1184, 660).DpToPx(),
Title = "Add to playlist",
Content = selectPlaylistContentArea,
Actions = new List<View> { selectPlaylistCancelButton },
- Padding = new Extents(0, 0, 0, 0),
- Margin = new Extents(0, 0, 0, 0),
+ Padding = new Extents(0, 0, 0, 0).DpToPx(),
+ Margin = new Extents(0, 0, 0, 0).DpToPx(),
};
TextLabel textLabel = (TextLabel)selectPlaylistDialog.TitleContent;
textLabel.FontStyle = UIFontStyles.AllNormal;
selectPlaylistContentArea = new View()
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 340,
+ HeightSpecification = 340.DpToPx(),
BackgroundColor = Color.Transparent,
Layout = new FlexLayout()
{
createNewPlaylistButton = new Button("PlaylistCreate")
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 108,
+ HeightSpecification = 108.DpToPx(),
TextAlignment = HorizontalAlignment.Begin,
- Padding = new Extents(64, 64, 0, 0),
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
IsEnabled = true,
IsSelectable = false,
ItemAlignment = LinearLayout.Alignment.CenterVertical,
View itemSeperator = new View()
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 2,
+ HeightSpecification = 2.DpToPx(),
BackgroundColor = UIColors.ItemSeperator,
- Margin = new Extents(64, 64, 0, 0),
+ Margin = new Extents(64, 64, 0, 0).DpToPx(),
};
selectPlaylistContentArea.Add(itemSeperator);
createNewPlaylistButton.Clicked += CreateNewPlaylistButtonClicked;
AddCreatePlaylistButtons();
createPlaylistDialog = new AlertDialog()
{
- Size2D = new Size2D(1184, 465),
+ Size2D = new Size2D(1184, 465).DpToPx(),
Title = "Create playlist",
Content = createPlaylistContentArea,
Actions = new List<View> { createPlaylistCancelButton, createPlaylistCreateButton },
- Padding = new Extents(0, 0, 0, 0),
- Margin = new Extents(0, 0, 0, 0),
+ Padding = new Extents(0, 0, 0, 0).DpToPx(),
+ Margin = new Extents(0, 0, 0, 0).DpToPx(),
};
TextLabel textLabel = (TextLabel)selectPlaylistDialog.TitleContent;
textLabel.FontStyle = UIFontStyles.AllNormal;
{
ThemeChangeSensitive = true,
StyleName = "ListBackground",
- Size2D = new Size2D(1184, 108),
+ Size2D = new Size2D(1184, 108).DpToPx(),
ItemsLayouter = new LinearLayouter(),
ScrollingDirection = ScrollableBase.Direction.Vertical,
HeightSpecification = LayoutParamPolicies.WrapContent,
DefaultLinearItem layout = new DefaultLinearItem("LinearItem")
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 108
+ HeightSpecification = 108.DpToPx(),
};
layout.Seperator.BackgroundColor = UIColors.ItemSeperator;
- layout.Seperator.Padding = new Extents(0, 0, 0, 0);
- layout.Seperator.Margin = new Extents(0, 0, 0, 0);
+ layout.Seperator.Padding = new Extents(0, 0, 0, 0).DpToPx();
+ layout.Seperator.Margin = new Extents(0, 0, 0, 0).DpToPx();
layout.Seperator.WidthSpecification = LayoutParamPolicies.MatchParent;
layout.Label.SetBinding(TextLabel.TextProperty, "PlaylistName");
layout.Label.FontStyle = UIFontStyles.NormalLight;
- layout.Padding = new Extents(0, 0, 0, 0);
- layout.Margin = new Extents(0, 0, 0, 0);
+ layout.Padding = new Extents(0, 0, 0, 0).DpToPx();
+ layout.Margin = new Extents(0, 0, 0, 0).DpToPx();
return layout;
});
collectionView.ItemsSource = viewModel.ListViewModel;
StyleName = "ItemLabel",
ThemeChangeSensitive = true,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 108,
- PixelSize = 32,
+ HeightSpecification = 108.DpToPx(),
+ PixelSize = 32.DpToPx(),
Text = "No playlists available",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
FontFamily = "BreezeSans",
FontStyle = UIFontStyles.NormalLight,
- Padding = new Extents(64, 64, 0, 0),
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
};
selectPlaylistContentArea.Add(noListText);
}
{
selectPlaylistCancelButton = new Button()
{
+ Size2D = new Size2D(336, 96).DpToPx(),
Text = "Cancel",
};
selectPlaylistCancelButton.TextLabel.FontStyle = UIFontStyles.AllNormal;
createPlaylistContentArea = new View()
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 169,
+ HeightSpecification = 169.DpToPx(),
BackgroundColor = Color.Transparent,
Layout = new FlexLayout()
{
Direction = FlexLayout.FlexDirection.Column,
ItemsAlignment = FlexLayout.AlignmentType.FlexStart,
Justification = FlexLayout.FlexJustification.FlexStart,
- Padding = new Extents(64, 64, 0, 0),
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
},
};
TextLabel textLabel = new TextLabel()
{
- StyleName = "TitleText",
+ StyleName = "ItemLabel",
ThemeChangeSensitive = true,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 40,
- PixelSize = 32,
+ HeightSpecification = 40.DpToPx(),
+ PixelSize = 32.DpToPx(),
Text = "Add playlist name.",
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center,
FontFamily = "BreezeSans",
FontStyle = UIFontStyles.NormalLight,
- Margin = new Extents(0, 0, 0, 24),
+ Margin = new Extents(0, 0, 0, 24).DpToPx(),
};
createPlaylistContentArea.Add(textLabel);
AddInputArea();
{
BackgroundColor = UIColors.ItemSeperator,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 1,
+ HeightSpecification = 1.DpToPx(),
};
createPlaylistContentArea.Add(itemSeperator);
underText = new TextLabel()
StyleName = "ItemLabel",
ThemeChangeSensitive = true,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 32,
- PixelSize = 24,
+ HeightSpecification = 32.DpToPx(),
+ PixelSize = 24.DpToPx(),
Text = "Can't enter more than 64 characters.",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
{
inputArea = new View()
{
- Size2D = new Size2D(1024, 48),
+ Size2D = new Size2D(1024, 48).DpToPx(),
Layout = new FlexLayout()
{
Direction = FlexLayout.FlexDirection.Row,
{
ThemeChangeSensitive = true,
StyleName = "TextField",
- PixelSize = 32,
- Size2D = new Size2D(928, 48),
- Position2D = new Position2D(0, 0),
- Margin = new Extents(0, 48, 0, 0),
+ PixelSize = 32.DpToPx(),
+ Size2D = new Size2D(928, 48).DpToPx(),
+ Position2D = new Position2D(0, 0).DpToPx(),
+ Margin = new Extents(0, 48, 0, 0).DpToPx(),
FontStyle = UIFontStyles.NormalLight,
MaxLength = 65,
};
crossButton = new Button("ClearButton")
{
ThemeChangeSensitive = true,
- Position2D = new Position2D(976, 6),
+ Position2D = new Position2D(976, 6).DpToPx(),
};
crossButton.Clicked += (object o, ClickedEventArgs e) =>
{
createPlaylistCreateButton = new Button()
{
+ Size2D = new Size2D(336, 96).DpToPx(),
Text = "Create",
};
createPlaylistCreateButton.TextLabel.FontStyle = UIFontStyles.AllNormal;
{
StyleName = "LabelText",
ThemeChangeSensitive = true,
- PixelSize = 28,
+ PixelSize = 28.DpToPx(),
Text = "Playlist COUNT",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
playlistCreateButton = new Button("PlaylistAdd")
{
ThemeChangeSensitive = true,
- Margin = new Extents(40, 0, 0, 0),
+ Margin = new Extents(40, 0, 0, 0).DpToPx(),
};
playlistCreateButton.BindingContext = viewModel;
playlistCreateButton.SetBinding(Button.IsEnabledProperty, "CanCreatePlaylist");
Name = "AlertDialogTitle",
StyleName = "LabelText",
ThemeChangeSensitive = true,
- PixelSize = 40,
+ PixelSize = 40.DpToPx(),
FontFamily = "BreezeSans",
FontStyle = UIFontStyles.AllNormal,
Text = "Create playlist",
Name = "AlertDialogContentMessage",
StyleName = "LabelText",
ThemeChangeSensitive = true,
- PixelSize = 32,
+ PixelSize = 32.DpToPx(),
FontFamily = "BreezeSans",
FontStyle = UIFontStyles.NormalLight,
Text = "Create a playlist",
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 40,
+ HeightSpecification = 40.DpToPx(),
HorizontalAlignment = HorizontalAlignment.Center,
};
return contentLabel;
PlaceholderText = "Enter Playlist Name",
Text = DefaultPlaylistName,
HorizontalAlignment = HorizontalAlignment.Begin,
+ PixelSize = 32.DpToPx(),
};
return inputTextField;
}
{
Name = "AlertDialogClearButton",
ThemeChangeSensitive = true,
- Margin = new Extents(48, 0, 0, 0),
+ Margin = new Extents(48, 0, 0, 0).DpToPx(),
};
return clearButton;
}
Name = "AlertDialogInputArea",
BackgroundColor = Color.Transparent,
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 48,
- Margin = new Extents(0, 0, 24, 0),
+ HeightSpecification = 48.DpToPx(),
+ Margin = new Extents(0, 0, 24, 0).DpToPx(),
Layout = new RelativeLayout()
};
return inputArea;
View contentArea = new View()
{
Name = "AlertDialogContent",
- SizeWidth = 1024,
- WidthSpecification = 1024,
- SizeHeight = 240,
- HeightSpecification = 240,
+ SizeWidth = 1024.DpToPx(),
+ WidthSpecification = 1024.DpToPx(),
+ SizeHeight = 240.DpToPx(),
+ HeightSpecification = 240.DpToPx(),
BackgroundColor = Color.Transparent,
Layout = new LinearLayout()
{
LinearOrientation = LinearLayout.Orientation.Vertical,
LinearAlignment = LinearLayout.Alignment.Center,
- Margin = new Extents(0, 0, 0, 24),
+ Margin = new Extents(0, 0, 0, 24).DpToPx(),
}
};
return contentArea;
{
Button createButton = new Button()
{
+ Size2D = new Size2D(336, 96).DpToPx(),
Name = "AlertDialogCreateButton",
Text = "Create",
};
{
View buttonArea = new View()
{
- HeightSpecification = 136,
- WidthSpecification = 1024,
+ HeightSpecification = 136.DpToPx(),
+ WidthSpecification = 1024.DpToPx(),
Layout = new RelativeLayout(),
};
return buttonArea;
Layout = new FlexLayout()
{
Direction = FlexLayout.FlexDirection.Column,
- Padding = new Extents(64, 64, 0, 0),
+ Padding = new Extents(64, 64, 0, 0).DpToPx(),
};
AddTopView();
AddTopViewElements();
topView = new View()
{
BackgroundColor = Color.Transparent,
- Size2D = new Size2D(Window.Instance.WindowSize.Width - 128, 120),
- Position2D = new Position2D(64, 0),
+ Size2D = new Size2D(Window.Instance.WindowSize.Width - 128, 120).DpToPx(),
+ Position2D = new Position2D(64, 0).DpToPx(),
Layout = new FlexLayout
{
Direction = FlexLayout.FlexDirection.Row,
backButton = new Button("BackButton")
{
ThemeChangeSensitive = true,
- Size2D = new Size2D(48, 48),
- Margin = new Extents(0, 24, 0, 0),
+ Size2D = new Size2D(48, 48).DpToPx(),
+ Margin = new Extents(0, 24, 0, 0).DpToPx(),
};
topView.Add(backButton);
backButton.Clicked += BackButtonClicked;
{
StyleName = "PageLabel",
ThemeChangeSensitive = true,
- Size2D = new Size2D(960, 48),
+ Size2D = new Size2D(960, 48).DpToPx(),
Text = "Search",
- PixelSize = 36,
+ PixelSize = 36.DpToPx(),
FontFamily = "BreezeSans",
- Margin = new Extents(0, 32, 0, 0),
+ Margin = new Extents(0, 32, 0, 0).DpToPx(),
FontStyle = UIFontStyles.NormalLight,
};
topView.Add(searchLabel);
{
StyleName = "SearchBox",
ThemeChangeSensitive = true,
- Size2D = new Size2D(648, 60),
- Margin = new Extents(0, 32, 0, 0),
+ Size2D = new Size2D(648, 60).DpToPx(),
+ Margin = new Extents(0, 32, 0, 0).DpToPx(),
Layout = new FlexLayout()
{
Direction = FlexLayout.FlexDirection.Row,
{
ThemeChangeSensitive = true,
Name = "searchbutton",
- Margin = new Extents(24, 0, 10, 10),
- Position2D = new Position2D(24, 10),
+ Margin = new Extents(24, 0, 10, 10).DpToPx(),
+ Position2D = new Position2D(24, 10).DpToPx(),
};
textField = new TextField()
{
StyleName = "TextField",
ThemeChangeSensitive = true,
Name ="Textfield",
- Size2D = new Size2D(460, 40),
+ Size2D = new Size2D(460, 40).DpToPx(),
BackgroundColor = Color.Transparent,
- Position2D = new Position2D(88, 10),
- Margin = new Extents(24, 0, 10, 10),
- PixelSize = 32,
+ Position2D = new Position2D(88, 10).DpToPx(),
+ Margin = new Extents(24, 0, 10, 10).DpToPx(),
+ PixelSize = 32.DpToPx(),
PlaceholderText = "Type Here",
PlaceholderTextFocused = "Search music",
};
{
ThemeChangeSensitive = true,
Name = "crossButton",
- Margin = new Extents(24, 0, 6, 6),
- Position2D = new Position2D(572, 6),
+ Margin = new Extents(24, 0, 6, 6).DpToPx(),
+ Position2D = new Position2D(572, 6).DpToPx(),
};
crossButton.Clicked += CrossButtonClicked;
ThemeChangeSensitive = true,
StyleName = "ListBackground",
WidthSpecification = LayoutParamPolicies.MatchParent,
- Padding = new Extents(0, 0, 0, 0),
+ Padding = new Extents(0, 0, 0, 0).DpToPx(),
ItemsLayouter = new LinearLayouter(),
ItemTemplate = new DataTemplate(() =>
{
ListItemLayout layout = new ListItemLayout()
{
- Padding = new Extents(0, 0, 0, 0),
- Margin = new Extents(0, 0, 0, 0)
+ Padding = new Extents(0, 0, 0, 0).DpToPx(),
+ Margin = new Extents(0, 0, 0, 0).DpToPx()
};
layout.Icon.SetBinding(ImageView.ResourceUrlProperty, "Thumbnail");
layout.TitleLabel.SetBinding(TextLabel.TextProperty, "Title");
{
DefaultTitleItem group = new DefaultTitleItem("DefaultTitle")
{
- Padding = new Extents(0, 0, 0, 0),
- Margin = new Extents(0, 0, 0, 0)
+ Padding = new Extents(0, 0, 0, 0).DpToPx(),
+ Margin = new Extents(0, 0, 0, 0).DpToPx()
};
group.Label.FontStyle = UIFontStyles.AllNormal;
group.Label.SetBinding(TextLabel.TextProperty, "DataCount");
Direction = FlexLayout.FlexDirection.Column,
ItemsAlignment = FlexLayout.AlignmentType.Center,
Justification = FlexLayout.FlexJustification.FlexStart,
- Padding = new Extents(0, 0, 40, 0),
+ Padding = new Extents(0, 0, 40, 0).DpToPx(),
}
};
noItemsAnimation = new LottieAnimationView()
{
URL = Resources.GetLottiePath() + "search_no_result.json",
- Size2D = new Size2D(264, 292),
+ Size2D = new Size2D(264, 292).DpToPx(),
LoopCount = -1,
BackgroundColor = Color.Transparent,
};
TextLabel textLabel = new TextLabel()
{
StyleName = "TitleText",
- Size2D = new Size2D(1124, 36),
+ Size2D = new Size2D(1124, 36).DpToPx(),
Text = "No results found",
- PixelSize = 28,
+ PixelSize = 28.DpToPx(),
FontFamily = "BreezeSans",
HorizontalAlignment = HorizontalAlignment.Center,
- Margin = new Extents(0, 0, 32, 0),
+ Margin = new Extents(0, 0, 32, 0).DpToPx(),
};
noItemView.Add(textLabel);
}
public SelectListLayout(int width = 1792, int height = 108) : base()
{
base.OnInitialize();
- base.IsCreateByXaml = true;
Width = width;
Height = height;
- WidthSpecification = Width;
- HeightSpecification = Height;
+ WidthSpecification = Width.DpToPx();
+ HeightSpecification = Height.DpToPx();
// to show the rounded rect of the bg
BackgroundColor = Color.Transparent;
checkBox = new CheckBox("CheckBox")
{
- IsCreateByXaml = true,
- Position2D = new Position2D(x, BoxSize),
+ Position2D = new Position2D(x, BoxSize).DpToPx(),
};
checkBox.Icon.Opacity = 1.0f;
- checkBox.Icon.Size = new Size2D(BoxSize, BoxSize);
+ checkBox.Icon.Size = new Size2D(BoxSize, BoxSize).DpToPx();
base.Add(checkBox);
icon = new ImageView()
{
- WidthSpecification = IconSize,
- HeightSpecification = IconSize,
- IsCreateByXaml = true,
- Position2D = new Position2D(x + BoxSize + LayoutPadding, ((Height / 2) - (IconSize / 2))),
+ WidthSpecification = IconSize.DpToPx(),
+ HeightSpecification = IconSize.DpToPx(),
+ Position2D = new Position2D(x + BoxSize + LayoutPadding, ((Height / 2) - (IconSize / 2))).DpToPx(),
};
base.Add(icon);
itemSeperator = new View()
{
- WidthSpecification = (Width - (2 * LeftPadding)),
- HeightSpecification = SeperatorHeight,
+ WidthSpecification = (Width - (2 * LeftPadding)).DpToPx(),
+ HeightSpecification = SeperatorHeight.DpToPx(),
ExcludeLayouting = true,
- Position2D = new Position2D(x, Height - SeperatorHeight),
+ Position2D = new Position2D(x, Height - SeperatorHeight).DpToPx(),
BackgroundColor = UIColors.ItemSeperator,
};
base.Add(itemSeperator);
titleLabel = new TextLabel()
{
StyleName = "ItemLabel",
- WidthSpecification = (Width - (2 * LeftPadding) - IconSize - 2 * LayoutPadding - BoxSize),
- HeightSpecification = 40,
- PixelSize = 32,
+ WidthSpecification = (Width - (2 * LeftPadding) - IconSize - 2 * LayoutPadding - BoxSize).DpToPx(),
+ HeightSpecification = 40.DpToPx(),
+ PixelSize = 32.DpToPx(),
FontFamily = "BreezeSans",
VerticalAlignment = VerticalAlignment.Center,
- IsCreateByXaml = true,
- Position2D = new Position2D((x + IconSize + 2 * LayoutPadding + BoxSize), LayoutMargin),
+ Position2D = new Position2D((x + IconSize + 2 * LayoutPadding + BoxSize), LayoutMargin).DpToPx(),
};
base.Add(titleLabel);
subtitleLabel = new TextLabel()
{
StyleName = "ItemLabel",
- WidthSpecification = (Width - (2 * LeftPadding) - IconSize - 2* LayoutPadding - BoxSize),
- HeightSpecification = 36,
- PixelSize = 28,
+ WidthSpecification = (Width - (2 * LeftPadding) - IconSize - 2* LayoutPadding - BoxSize).DpToPx(),
+ HeightSpecification = 36.DpToPx(),
+ PixelSize = 28.DpToPx(),
FontFamily = "BreezeSans",
VerticalAlignment = VerticalAlignment.Center,
- IsCreateByXaml = true,
- Position2D = new Position2D((x + IconSize + 2 * LayoutPadding + BoxSize), LayoutMargin + 40)
+ Position2D = new Position2D((x + IconSize + 2 * LayoutPadding + BoxSize), LayoutMargin + 40).DpToPx(),
};
base.Add(subtitleLabel);
- IsCreateByXaml = true;
IsSelected = false;
}
Button button = new Button("TextButton")
{
Text = url,
- Position2D = new Position2D(x, y),
+ Position2D = new Position2D(x, y).DpToPx(),
IsEnabled = false,
};
return button;
View topView = new View()
{
BackgroundColor = Color.Transparent,
- WidthSpecification = Window.Instance.WindowSize.Width,
- HeightSpecification = 120,
+ WidthSpecification = Window.Instance.WindowSize.Width.DpToPx(),
+ HeightSpecification = 120.DpToPx(),
Layout = new FlexLayout()
{
Direction = FlexLayout.FlexDirection.Row,
- Padding = new Extents(LayoutPadding, LayoutPadding, LayoutMargin, LayoutMargin),
+ Padding = new Extents(LayoutPadding, LayoutPadding, LayoutMargin, LayoutMargin).DpToPx(),
},
};
base.Add(topView);
selectedCountLabel = new TextLabel()
{
StyleName = "TitleText",
- Size2D = new Size2D(1192, TextLabelHeight),
- Position2D = new Position2D(LayoutPadding, 0),
- PixelSize = 36,
+ Size2D = new Size2D(1192, TextLabelHeight).DpToPx(),
+ Position2D = new Position2D(LayoutPadding, 0).DpToPx(),
+ PixelSize = 36.DpToPx(),
FontFamily = "BreezeSans",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
private void AddButtons()
{
cancelButton = CreateButton("Cancel", Window.Instance.WindowSize.Width - LayoutPadding - 2 * TextButtonWidth -40, LayoutMargin);
- cancelButton.Margin = new Extents(40, 0, 0, 0);
+ cancelButton.Margin = new Extents(40, 0, 0, 0).DpToPx();
cancelButton.IsEnabled = true;
topView.Add(cancelButton);
cancelButton.Clicked += (object o, ClickedEventArgs args) =>
};
doneButton = CreateButton("Done", Window.Instance.WindowSize.Width - LayoutPadding - TextButtonWidth, LayoutMargin);
- doneButton.Margin = new Extents(40, 0, 0, 0);
+ doneButton.Margin = new Extents(40, 0, 0, 0).DpToPx();
topView.Add(doneButton);
doneButton.Clicked += (object o, ClickedEventArgs args) =>
{
{
StyleName = "SelectAllBg",
ThemeChangeSensitive = true,
- WidthSpecification = Window.Instance.WindowSize.Width - 2 * LayoutPadding,
- HeightSpecification = 108,
- Position2D = new Position2D(LayoutPadding,120),
- Margin = new Extents(LayoutPadding,LayoutPadding,0,40),
+ WidthSpecification = (Window.Instance.WindowSize.Width - 2 * LayoutPadding).DpToPx(),
+ HeightSpecification = 108.DpToPx(),
+ Position2D = new Position2D(LayoutPadding,120).DpToPx(),
+ Margin = new Extents(LayoutPadding,LayoutPadding,0,40).DpToPx(),
};
base.Add(selAllView);
return selAllView;
{
selAllButton = new CheckBox()
{
- Size2D = new Size2D(36, 36),
- Position2D = new Position2D(LayoutPadding, LayoutMargin),
- Margin = new Extents(LayoutPadding, 32, LayoutMargin, LayoutMargin),
+ Size2D = new Size2D(36, 36).DpToPx(),
+ Position2D = new Position2D(LayoutPadding, LayoutMargin).DpToPx(),
+ Margin = new Extents(LayoutPadding, 32, LayoutMargin, LayoutMargin).DpToPx(),
};
selAllView.Add(selAllButton);
selAllButton.Clicked += OnSelAllClicked;
{
StyleName ="LabelText",
Text = "Select All",
- Size2D = new Size2D(1596, 40),
- Margin = new Extents(0,LayoutPadding,34,34),
- Position2D = new Position2D(LayoutPadding+36+32, 34),
- PixelSize = 32,
+ Size2D = new Size2D(1596, 40).DpToPx(),
+ Margin = new Extents(0,LayoutPadding,34,34).DpToPx(),
+ Position2D = new Position2D(LayoutPadding+36+32, 34).DpToPx(),
+ PixelSize = 32.DpToPx(),
FontFamily = "BreezeSans",
HorizontalAlignment = HorizontalAlignment.Begin,
VerticalAlignment = VerticalAlignment.Center,
{
ThemeChangeSensitive = true,
StyleName = "ListBackground",
- Size2D = new Size2D(1792, 108),
- Margin = new Extents(LayoutPadding, LayoutPadding, 0, 0),
+ Size2D = new Size2D(1792, 108).DpToPx(),
+ Margin = new Extents(LayoutPadding, LayoutPadding, 0, 0).DpToPx(),
ItemsLayouter = new LinearLayouter(),
ScrollingDirection = ScrollableBase.Direction.Vertical,
HeightSpecification = LayoutParamPolicies.WrapContent,
ThemeChangeSensitive = true,
StyleName = "ListBackground",
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 836,
- Margin = new Extents(64, 64, 0, 0),
+ HeightSpecification = 836.DpToPx(),
+ Margin = new Extents(64, 64, 0, 0).DpToPx(),
ScrollingDirection = ScrollableBase.Direction.Vertical,
};
return scrollableBase;
View view = new View()
{
WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = 124,
+ HeightSpecification = 124.DpToPx(),
BackgroundColor = Color.Magenta,
};
return view;
View view = new View()
{
BackgroundColor = Color.Transparent,
- Size2D = new Size2D(1664, 108),
+ Size2D = new Size2D(1664, 108).DpToPx(),
BindingContext = viewModel.Model,
};
View itemSaperator = new View()
{
BackgroundColor = UIColors.HEXC3CAD2,
- Size2D = new Size2D(1664, 1),
- Position2D = new Position2D(0, 107),
+ Size2D = new Size2D(1664.DpToPx(), 1),
+ Position2D = new Position2D(0, 107).DpToPx(),
};
view.Add(itemSaperator);
private void AddItem(View item, int x, int y)
{
- item.Position2D = new Position2D(x, y);
+ item.Position2D = new Position2D(x, y).DpToPx();
itemRootView.Add(item);
}
{\r
StyleName = "LabelText",\r
ThemeChangeSensitive = true,\r
- PixelSize = 28,\r
+ PixelSize = 28.DpToPx(),\r
Text = "TRACK COUNT",\r
HorizontalAlignment = HorizontalAlignment.Begin,\r
VerticalAlignment = VerticalAlignment.Center,\r
playAllWithShuffle = new Button("ShuffleButton")\r
{\r
ThemeChangeSensitive = true,\r
- Margin = new Extents(32, 40, 0, 0),\r
+ Margin = new Extents(32, 40, 0, 0).DpToPx(),\r
};\r
titleView.Add(playAllWithShuffle);\r
playAllWithShuffle.Clicked += (object sender, ClickedEventArgs e) =>\r
\r
<PropertyGroup>\r
<OutputType>Exe</OutputType>\r
- <TargetFramework>tizen90</TargetFramework>\r
+ <TargetFramework>tizen10.0</TargetFramework>\r
<LangVersion>8.0</LangVersion>\r
<TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>\r
</PropertyGroup>\r
<PackageReference Include="Tizen.NET" Version="10.0.0.16872">\r
<ExcludeAssets>Runtime</ExcludeAssets>\r
</PackageReference>\r
- <PackageReference Include="Tizen.NET.Sdk" Version="1.1.6" />\r
+ <PackageReference Include="Tizen.NET.Sdk" Version="1.1.7" />\r
</ItemGroup>\r
\r
</Project>\r
<TextFieldStyle x:Key="TextField" TextColor ="#FFFFFF" />
- <c:DefaultTitleItemStyle x:Key="DefaultTitle" Size="1920, 60" BackgroundColor="#0E1017">
+ <c:DefaultTitleItemStyle x:Key="DefaultTitle" Size="1920dp, 60dp" BackgroundColor="#0E1017">
<c:DefaultTitleItemStyle.Label>
- <TextLabelStyle PixelSize ="28" TextColor ="#FFFFFF" />
+ <TextLabelStyle PixelSize ="28dp" TextColor ="#FFFFFF" />
</c:DefaultTitleItemStyle.Label>
</c:DefaultTitleItemStyle>
- <c:ButtonStyle x:Key="PrevButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PrevButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="NextButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="NextButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ShuffleButton" Size="48, 48" Position="0, 196" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ShuffleButton" Size="48dp, 48dp" Position="0dp, 196dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="RepeatButton" Size="48, 48" Position="592, 196" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="RepeatButton" Size="48dp, 48dp" Position="592dp, 196dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ListButton" Size="48, 48" Position="0, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ListButton" Size="48dp, 48dp" Position="0dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlaylistButton" Size="48, 48" Position="88, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlaylistButton" Size="48dp, 48dp" Position="88dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="FavouriteButton" Size="48, 48" Position="176, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="FavouriteButton" Size="48dp, 48dp" Position="176dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlayAll" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlayAll" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlaylistAdd" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlaylistAdd" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:SliderStyle x:Key="Slider" TrackThickness="8" IndicatorType="Image">
+ <c:SliderStyle x:Key="Slider" TrackThickness="8dp" IndicatorType="Image">
<c:SliderStyle.Track>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/empty_track.png</ImageViewStyle.ResourceUrl>
</c:SliderStyle.Thumb>
</c:SliderStyle>
- <c:ButtonStyle x:Key="BackButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="BackButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="MoreButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="MoreButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="SearchIcon" Size="40, 40" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="SearchIcon" Size="40dp, 40dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/dark/search_icon.png</ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <ImageViewStyle x:Key="LeftVolume" Size="48, 48" Position="0, 336">
+ <ImageViewStyle x:Key="LeftVolume" Size="48dp, 48dp" Position="0dp, 336dp">
<ImageViewStyle.ResourceUrl>*Resource*/images/dark/left_sound_icon.png</ImageViewStyle.ResourceUrl>
</ImageViewStyle>
- <ImageViewStyle x:Key="RightVolume" Size="48, 48" Position="592, 336">
+ <ImageViewStyle x:Key="RightVolume" Size="48dp, 48dp" Position="592dp, 336dp">
<ImageViewStyle.ResourceUrl>*Resource*/images/dark/right_sound_icon.png</ImageViewStyle.ResourceUrl>
</ImageViewStyle>
<TextLabelStyle x:Key="TitleText" TextColor="#FFFFFF"/>
- <c:ButtonStyle x:Key="CancelButton" Size="336, 96" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="CancelButton" Size="336dp, 96dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
<c:ButtonStyle.BackgroundImage>*Resource*/images/dark/cancel_button_bg.png</c:ButtonStyle.BackgroundImage>
<c:ButtonStyle.Text>
- <TextLabelStyle TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="32" Text="Cancel"/>
+ <TextLabelStyle TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="32dp" Text="Cancel"/>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="TextButton" Size="260, 64" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="TextButton" Size="260dp, 64dp" BackgroundColor="Transparent" >
<c:ButtonStyle.Text>
- <TextLabelStyle FontFamily="BreezeSans" PixelSize="28">
+ <TextLabelStyle FontFamily="BreezeSans" PixelSize="28dp">
<TextLabelStyle.TextColor>
<Selector x:TypeArguments="Color" Normal="#FFFFFF" Pressed="#1473E6" Disabled="#B2B7BE" />
</TextLabelStyle.TextColor>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ClearButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ClearButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/dark/cross_button.png</ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="CheckBox" Size="36, 36" IsSelected="false" IsEnabled="false" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="CheckBox" Size="36dp, 36dp" IsSelected="false" IsEnabled="false" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
<c:TabStyle x:Key="Tabs" BackgroundColor="#000209">
<c:TabStyle.Text>
- <TextLabelStyle TextColor="#FFFFFF" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="28"/>
+ <TextLabelStyle TextColor="#FFFFFF" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="28dp"/>
</c:TabStyle.Text>
<c:TabStyle.UnderLine>
- <ViewStyle BackgroundColor="#FFFFFF" SizeHeight="8"/>
+ <ViewStyle BackgroundColor="#FFFFFF" SizeHeight="8dp"/>
</c:TabStyle.UnderLine>
</c:TabStyle>
- <c:ButtonStyle x:Key="SearchButton" Size="96, 60" IsSelectable="false" IsEnabled="true" BackgroundImage="*Resource*/images/dark/search_button_bg.png">
+ <c:ButtonStyle x:Key="SearchButton" Size="96dp, 60dp" IsSelectable="false" IsEnabled="true" BackgroundImage="*Resource*/images/dark/search_button_bg.png">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/dark/search_icon.png</ImageViewStyle.ResourceUrl>
<c:DefaultLinearItemStyle x:Key="LinearItem" BackgroundColor="Transparent">
<c:DefaultLinearItemStyle.Label>
- <TextLabelStyle TextColor="#FFFFFF" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="32"/>
+ <TextLabelStyle TextColor="#FFFFFF" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="32dp"/>
</c:DefaultLinearItemStyle.Label>
</c:DefaultLinearItemStyle>
<c:ButtonStyle x:Key="PlaylistCreate" BackgroundColor="Transparent" >
<c:ButtonStyle.Text>
- <TextLabelStyle FontFamily="BreezeSans" PixelSize="32" Text="+ Create new playlist">
+ <TextLabelStyle FontFamily="BreezeSans" PixelSize="32dp" Text="+ Create new playlist">
<TextLabelStyle.TextColor>
<Selector x:TypeArguments="Color" Normal="#FFFFFF" Pressed="#1473E6" Disabled="#C3CAD2" />
</TextLabelStyle.TextColor>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <TextLabelStyle x:Key="DetailTitle" Position="0, 16" Size="1664, 108" TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="32"/>
- <TextLabelStyle x:Key="DetailSubTitle" Position="0, 56" Size="1664, 108" TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="28"/>
+ <TextLabelStyle x:Key="DetailTitle" Position="0dp, 16dp" Size="1664dp, 108dp" TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="32dp"/>
+ <TextLabelStyle x:Key="DetailSubTitle" Position="0dp, 56dp" Size="1664dp, 108dp" TextColor="#FFFFFF" FontFamily="BreezeSans" PixelSize="28dp"/>
</Theme>
\ No newline at end of file
<TextFieldStyle x:Key="TextField" TextColor ="#001447" />
- <c:DefaultTitleItemStyle x:Key="DefaultTitle" Size="1920, 60" BackgroundColor="#EEEFF1">
+ <c:DefaultTitleItemStyle x:Key="DefaultTitle" Size="1920dp, 60dp" BackgroundColor="#EEEFF1">
<c:DefaultTitleItemStyle.Label>
- <TextLabelStyle PixelSize ="28" TextColor ="#001447" />
+ <TextLabelStyle PixelSize ="28dp" TextColor ="#001447" />
</c:DefaultTitleItemStyle.Label>
</c:DefaultTitleItemStyle>
- <c:ButtonStyle x:Key="PrevButton" Size="48, 48" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="PrevButton" Size="48dp, 48dp" BackgroundColor="Transparent" >
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="NextButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="NextButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ShuffleButton" Size="48, 48" Position="0, 196" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ShuffleButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="RepeatButton" Size="48, 48" Position="592, 196" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="RepeatButton" Size="48dp, 48dp" Position="592dp, 196dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ListButton" Size="48, 48" Position="0, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ListButton" Size="48dp, 48dp" Position="0dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlaylistButton" Size="48, 48" Position="88, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlaylistButton" Size="48dp, 48dp" Position="88dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="FavouriteButton" Size="48, 48" Position="176, 0" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="FavouriteButton" Size="48dp, 48dp" Position="176dp, 0dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlayAll" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlayAll" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="PlaylistAdd" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="PlaylistAdd" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:SliderStyle x:Key="Slider" TrackThickness="8" IndicatorType="Image">
+ <c:SliderStyle x:Key="Slider" TrackThickness="8dp" IndicatorType="Image">
<c:SliderStyle.Track>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/empty_track.png</ImageViewStyle.ResourceUrl>
</c:SliderStyle.Thumb>
</c:SliderStyle>
- <c:ButtonStyle x:Key="BackButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="BackButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="MoreButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="MoreButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="SearchIcon" Size="40, 40" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="SearchIcon" Size="40dp, 40dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/light/search_icon.png</ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <ImageViewStyle x:Key="LeftVolume" Size="48, 48" Position="0, 336">
+ <ImageViewStyle x:Key="LeftVolume" Size="48dp, 48dp" Position="0dp, 336dp">
<ImageViewStyle.ResourceUrl>*Resource*/images/light/left_sound_icon.png</ImageViewStyle.ResourceUrl>
</ImageViewStyle>
- <ImageViewStyle x:Key="RightVolume" Size="48, 48" Position="592, 336">
+ <ImageViewStyle x:Key="RightVolume" Size="48dp, 48dp" Position="592dp, 336dp">
<ImageViewStyle.ResourceUrl>*Resource*/images/light/right_sound_icon.png</ImageViewStyle.ResourceUrl>
</ImageViewStyle>
<TextLabelStyle x:Key="TitleText" TextColor="#000C2B"/>
- <c:ButtonStyle x:Key="CancelButton" Size="336, 96" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="CancelButton" Size="336dp, 96dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent" >
<c:ButtonStyle.BackgroundImage>*Resource*/images/light/cancel_button_bg.png</c:ButtonStyle.BackgroundImage>
<c:ButtonStyle.Text>
- <TextLabelStyle TextColor="#000C2B" FontFamily="BreezeSans" PixelSize="32" Text="Cancel"/>
+ <TextLabelStyle TextColor="#000C2B" FontFamily="BreezeSans" PixelSize="32dp" Text="Cancel"/>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="TextButton" Size="260, 64" BackgroundColor="Transparent" >
+ <c:ButtonStyle x:Key="TextButton" Size="260dp, 64dp" BackgroundColor="Transparent" >
<c:ButtonStyle.Text>
- <TextLabelStyle FontFamily="BreezeSans" PixelSize="28">
+ <TextLabelStyle FontFamily="BreezeSans" PixelSize="28dp">
<TextLabelStyle.TextColor>
<Selector x:TypeArguments="Color" Normal="#000C2B" Pressed="#1473E6" Disabled="#B2B7BE" />
</TextLabelStyle.TextColor>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="ClearButton" Size="48, 48" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="ClearButton" Size="48dp, 48dp" IsSelectable="false" IsEnabled="true" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/light/cross_button.png</ImageViewStyle.ResourceUrl>
</c:ButtonStyle.Icon>
</c:ButtonStyle>
- <c:ButtonStyle x:Key="CheckBox" Size="36, 36" IsSelected="false" IsEnabled="false" BackgroundColor="Transparent">
+ <c:ButtonStyle x:Key="CheckBox" Size="36dp, 36dp" IsSelected="false" IsEnabled="false" BackgroundColor="Transparent">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>
<c:TabStyle x:Key="Tabs" BackgroundColor="White">
<c:TabStyle.Text>
- <TextLabelStyle TextColor="#000C2B" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="28"/>
+ <TextLabelStyle TextColor="#000C2B" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="28dp"/>
</c:TabStyle.Text>
<c:TabStyle.UnderLine>
- <ViewStyle BackgroundColor="#0A0E4A" SizeHeight="8"/>
+ <ViewStyle BackgroundColor="#0A0E4A" SizeHeight="8dp"/>
</c:TabStyle.UnderLine>
</c:TabStyle>
- <c:ButtonStyle x:Key="SearchButton" Size="96, 60" IsSelectable="false" IsEnabled="true" BackgroundImage="*Resource*/images/light/search_button_bg.png">
+ <c:ButtonStyle x:Key="SearchButton" Size="96dp, 60dp" IsSelectable="false" IsEnabled="true" BackgroundImage="*Resource*/images/light/search_button_bg.png">
<c:ButtonStyle.Icon>
<ImageViewStyle>
<ImageViewStyle.ResourceUrl>*Resource*/images/light/search_icon.png</ImageViewStyle.ResourceUrl>
<c:DefaultLinearItemStyle x:Key="LinearItem" BackgroundColor="Transparent">
<c:DefaultLinearItemStyle.Label>
- <TextLabelStyle TextColor="#001447" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="32"/>
+ <TextLabelStyle TextColor="#001447" ThemeChangeSensitive="true" FontFamily="BreezeSans" PixelSize="32dp"/>
</c:DefaultLinearItemStyle.Label>
</c:DefaultLinearItemStyle>
<c:ButtonStyle x:Key="PlaylistCreate" BackgroundColor="Transparent" >
<c:ButtonStyle.Text>
- <TextLabelStyle FontFamily="BreezeSans" PixelSize="32" Text="+ Create new playlist">
+ <TextLabelStyle FontFamily="BreezeSans" PixelSize="32dp" Text="+ Create new playlist">
<TextLabelStyle.TextColor>
<Selector x:TypeArguments="Color" Normal="#001447" Pressed="#1473E6" Disabled="#C3CAD2" />
</TextLabelStyle.TextColor>
</c:ButtonStyle.Text>
</c:ButtonStyle>
- <TextLabelStyle x:Key="DetailTitle" Position="0, 16" Size="1664, 108" TextColor="#001447" FontFamily="BreezeSans" PixelSize="32"/>
- <TextLabelStyle x:Key="DetailSubTitle" Position="0, 56" Size="1664, 108" TextColor="#001447" FontFamily="BreezeSans" PixelSize="28"/>
+ <TextLabelStyle x:Key="DetailTitle" Position="0dp, 16dp" Size="1664dp, 108dp" TextColor="#001447" FontFamily="BreezeSans" PixelSize="32dp"/>
+ <TextLabelStyle x:Key="DetailSubTitle" Position="0dp, 56dp" Size="1664dp, 108dp" TextColor="#001447" FontFamily="BreezeSans" PixelSize="28dp"/>
</Theme>
\ No newline at end of file