using System;
|
using Shared.Common;
|
using Shared.Phone.Device.CommonForm;
|
|
namespace Shared.Phone.UserView
|
{
|
/// <summary>
|
/// 该类已经废弃
|
/// </summary>
|
public class LoginLoading : FrameLayout
|
{
|
public LoginLoading()
|
{
|
BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
|
Tag = "Login";
|
this.BackgroundImagePath = "Logo/StartBackGroud.png";
|
}
|
|
/// <summary>
|
/// show
|
/// </summary>
|
public void Show()
|
{
|
//Logo图标
|
var btnIcon = new Button();
|
btnIcon.Y = Application.GetRealHeight(570);
|
btnIcon.Width = HdlControlLogic.Current.GetPictrueRealSize(184);
|
btnIcon.Height = HdlControlLogic.Current.GetPictrueRealSize(184);
|
btnIcon.UnSelectedImagePath = "Logo/Logo.png";
|
btnIcon.Gravity = Gravity.CenterHorizontal;
|
this.AddChidren(btnIcon);
|
|
//Evoyo Home
|
var btnText = new Button();
|
btnText.Height = Application.GetRealHeight(70);
|
btnText.Y = btnIcon.Bottom;
|
btnText.TextAlignment = TextAlignment.Center;
|
btnText.Text = "Evoyo Home";
|
btnText.TextColor = UserCenterColor.Current.White;
|
btnText.TextSize = 16;
|
this.AddChidren(btnText);
|
|
//智能改变生活 | Enjoy smart life
|
var btnTip = new Button();
|
btnTip.Height = btnIcon.Bottom + Application.GetRealHeight(850);
|
btnTip.Y = btnIcon.Bottom;
|
btnTip.TextAlignment = TextAlignment.Center;
|
btnTip.TextSize = 16;
|
btnTip.TextID = R.MyInternationalizationString.uLogoPageText;
|
this.AddChidren(btnTip);
|
}
|
}
|
}
|