using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace Shared.Phone.UserCenter
|
{
|
/// <summary>
|
/// 做成一个存在于BodyFrameLayout底部进行单击的按钮✩
|
/// </summary>
|
public class BottomClickButton : ClickButtonCommon
|
{
|
/// <summary>
|
/// Y轴坐标
|
/// </summary>
|
public int Yaxis = 0;
|
|
/// <summary>
|
/// 做成一个存在于BodyFrameLayout底部进行单击的按钮
|
/// </summary>
|
/// <param name="i_width">有些界面很特殊,不统一按键宽度,所以预留此参数</param>
|
public BottomClickButton(int i_width = 907)
|
{
|
this.Yaxis = Application.GetRealHeight(1472);
|
|
//这个是一般位置
|
this.Width = Application.GetRealWidth(i_width);
|
this.Height = Application.GetRealHeight(127);
|
this.Y = this.Yaxis;
|
this.Gravity = Gravity.CenterHorizontal;
|
this.Radius = (uint)Application.GetRealHeight(128) / 2;
|
this.TextSize = 16;
|
}
|
}
|
}
|