using System;
|
using HDL_ON.UI.UI2.Intelligence.Automation.LogicView;
|
using Shared;
|
namespace HDL_ON.UI.UI2.FuntionControlView.Video.View
|
{
|
public class FrameLayout50
|
{
|
/// <summary>
|
/// 主控件View
|
/// </summary>
|
public FrameLayout frameLayout = new FrameLayout
|
{
|
Height = Application.GetRealHeight(50),
|
// BackgroundColor = CSS.CSS_Color.view,
|
};
|
/// <summary>
|
/// 文本描述
|
/// </summary>
|
public Button btnText = new Button
|
{
|
Y = Application.GetRealHeight(24),
|
Width = Application.GetRealWidth(200),
|
Height = Application.GetRealHeight(22),
|
TextColor = CSS.CSS_Color.textColor,
|
TextSize = TextSize.text16,
|
TextAlignment = TextAlignment.CenterLeft,
|
IsBold = true,
|
Text= "2020"+Language.StringByID(StringId.nian),
|
};
|
|
public Button btnClick = new Button
|
{
|
Height = Application.GetRealHeight(50),
|
};
|
/// <summary>
|
/// View的方法
|
/// </summary>
|
/// <returns></returns>
|
public FrameLayout FLayoutView()
|
{
|
frameLayout.AddChidren(btnText);
|
frameLayout.AddChidren(btnClick);
|
return frameLayout;
|
}
|
}
|
}
|