using System;
using HDL_ON.UI.CSS;
using Shared;
namespace HDL_ON.UI
{
///
/// 内容为空 通用提示View
/// 空空如也
///
public class EmptyTipView : FrameLayout
{
///
///
///
public Button btnTipNotText;
///
///
///
public Button btnTipNot;
///
///
///
public EmptyTipView()
{
int tipHeight = Application.GetRealWidth(180);
this.Height = tipHeight + Application.GetRealHeight(17);
btnTipNot = new Button()
{
Gravity = Gravity.CenterHorizontal,
Width = tipHeight,
Height = tipHeight,
UnSelectedImagePath = "TipNot.png",
};
this.AddChidren(btnTipNot);
//空空如也
Button btnTipNotText = new Button()
{
Y = btnTipNot.Bottom,
Height = Application.GetRealHeight(17),
TextID = StringId.ContentIsEmpty,
TextAlignment = TextAlignment.Center,
TextColor = CSS_Color.TextualColor,
TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
};
this.AddChidren(btnTipNotText);
}
}
}