using System;
|
using Shared;
|
using HDL_ON.UI.CSS;
|
|
namespace HDL_ON.UI
|
{
|
/// <summary>
|
/// 功能介绍
|
/// </summary>
|
public class FunctionIntroductionPage : FrameLayout
|
{
|
FrameLayout bodyView;
|
/// <summary>
|
///
|
/// </summary>
|
FrameLayout emptyTipFrameLayout;
|
/// <summary>
|
/// 当前
|
/// </summary>
|
VerticalScrolViewLayout bodyScrolView;
|
|
public FunctionIntroductionPage()
|
{
|
bodyView = this;
|
}
|
|
public void LoadPage()
|
{
|
new TopViewDiv(bodyView, Language.StringByID(StringId.FunctionIntroduced)).LoadTopView();
|
|
int bodyY = Application.GetRealHeight(64);
|
bodyScrolView = new VerticalScrolViewLayout()
|
{
|
Y = bodyY,
|
Height = bodyView.Height - bodyY,
|
BackgroundColor = CSS_Color.MainBackgroundColor,
|
};
|
bodyView.AddChidren(bodyScrolView);
|
|
AddEmptyTipView();
|
}
|
|
/// <summary>
|
/// 添加内容为空提示页面
|
/// </summary>
|
void AddEmptyTipView()
|
{
|
//int bodyY = Application.GetRealHeight(64);
|
//emptyTipFrameLayout = new FrameLayout()
|
//{
|
// Y = bodyY,
|
// Height = bodyView.Height - bodyY,
|
// BackgroundColor = CSS_Color.MainBackgroundColor,
|
//};
|
//bodyView.AddChidren(emptyTipFrameLayout);
|
|
var emptyTipView = new EmptyTipView()
|
{
|
Gravity = Gravity.Center
|
};
|
bodyView.AddChidren(emptyTipView);
|
}
|
}
|
}
|