using System;
using Shared;
using HDL_ON.UI.CSS;
namespace HDL_ON.UI
{
///
/// 过户账号确认界面
/// 个人资料
///
public class TransferUserConfirmPage : FrameLayout
{
///
///
///
FrameLayout bodyView;
public TransferUserConfirmPage()
{
bodyView = this;
}
///
///
///
public void LoadPage()
{
BackgroundColor = CSS_Color.BackgroundColor;
new TopViewDiv(bodyView, "个人资料").LoadTopView();
var headView = new FrameLayout()
{
Y = Application.GetRealHeight(64),
Height = Application.GetRealHeight(204),
BackgroundColor = CSS_Color.MainBackgroundColor,
};
bodyView.AddChidren(headView);
ImageView myHeadImage = new ImageView()
{
Y = Application.GetRealHeight(32),
Width = Application.GetRealWidth(84),
Height = Application.GetRealWidth(84),
Radius = (uint)Application.GetRealWidth(42),
ImagePath = UserInfo.Current.headImagePagePath,
Gravity = Gravity.CenterHorizontal,
};
headView.AddChidren(myHeadImage);
var btnConfirm = new Button()
{
Y = headView.Bottom + Application.GetRealHeight(8),
Height = Application.GetRealHeight(50),
TextAlignment = TextAlignment.Center,
TextColor = CSS_Color.MainColor,
TextSize = CSS_FontSize.SubheadingFontSize,
BackgroundColor = CSS_Color.MainBackgroundColor,
Text = "确认过户"
};
bodyView.AddChidren(btnConfirm);
}
}
}