FontStyle = UIFontStyles.AllNormal,
TranslatableText = "IDS_CREATE_PLAYLIST",
WidthSpecification = LayoutParamPolicies.MatchParent,
+ HeightSpecification = LayoutParamPolicies.WrapContent,
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Center,
};
{
Name = "AlertDialogCancelButton",
ThemeChangeSensitive = true,
+ PointSize = ((12 * 1920) / AppConstants.WindowWidth).SpToPx(),
};
cancelbutton.TextLabel.FontStyle = UIFontStyles.AllNormal;
return cancelbutton;
{
Button createButton = new Button()
{
- Size2D = new Size2D(336, 96).SpToPx(),
+ Size2D = new Size2D(300, 80).SpToPx(),
Name = "AlertDialogCreateButton",
TranslatableText = "IDS_CREATE",
- PointSize = 33.SpToPx(),
+ PointSize = ((12 * 1920) / AppConstants.WindowWidth).SpToPx(),
+ CornerRadius = 24.SpToPx(),
};
createButton.TextLabel.FontStyle = UIFontStyles.AllNormal;
return createButton;
WidthSpecification = LayoutParamPolicies.MatchParent,
Layout = new RelativeLayout()
{
- Margin = new Extents(0, 0, 64, 0).SpToPx(),
+ Margin = new Extents(0, 0, 0, 0).SpToPx(),
}
};
return buttonArea;
ThemeChangeSensitive = true,
StyleName = "Dialogs",
WidthSpecification = DeviceInfo.IsPortrait ? Window.Instance.Size.Width - 64.SpToPx() : (int)(Window.Instance.Size.Width * 0.6f),
- HeightSpecification = 466.SpToPx(),
+ HeightSpecification = 380.SpToPx(),
Layout = new LinearLayout()
{
Padding = new Extents(80, 80, 40, 40).SpToPx(),