| | |
| | | public class ControlCommonResourse
|
| | | {
|
| | | /// <summary>
|
| | | /// 消息管理按键(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static List<MessageManagementControl> listMessageManaContr = new List<MessageManagementControl>();
|
| | | /// <summary>
|
| | | /// 消息管理是否来了新消息(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static bool HadNewMessage = false;
|
| | | /// <summary>
|
| | | /// 是否重新读取消息记录(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static bool ReadMessageAgain = true;
|
| | | /// <summary>
|
| | | /// 画面TopFrameLayout最上面菜单的高度(高度:74)
|
| | | /// </summary>
|
| | | public static int TopMenuFrameHeight = Application.GetRealHeight(74);
|
| | |
| | | /// </summary>
|
| | | public static int TopFrameHeight = Application.GetRealHeight(110);
|
| | | /// <summary>
|
| | | /// 画面BodyFrameLayout的高度(高度:1736)
|
| | | /// 画面BodyFrameLayout的高度(不能直接指定数值,不然有可能会出现误差,导致无法铺满)
|
| | | /// </summary>
|
| | | public static int BodyFrameHeight = Application.GetRealHeight(1920 - 184);
|
| | | public static int BodyFrameHeight
|
| | | {
|
| | | get { return UserView.HomePage.Instance.Height - TopMenuFrameHeight - TopFrameHeight; }
|
| | | }
|
| | | /// <summary>
|
| | | /// 画面BottomFrameLayout的高度(高度:141 注:此变量在个人中心不使用)
|
| | | /// </summary>
|
| | | public static int BottomFrameHeight = Application.GetRealHeight(141);
|
| | | /// <summary>
|
| | | /// 1 X轴左边的偏移量
|
| | | /// X轴左边的偏移量
|
| | | /// </summary>
|
| | | public static int XXLeft = Application.GetRealWidth(58);
|
| | | /// <summary>
|
| | | /// VerticalScrolViewLayout控件一行的高度(只针对标准型列表式画面)
|
| | | /// </summary>
|
| | | public static int ListViewRowHeight = Application.GetRealHeight(127);
|
| | | /// <summary>
|
| | | /// VerticalScrolViewLayout控件一行一半的高度,这个东西并不是除以2,它的上下两部分间需要间距空白,
|
| | | /// 请注意:此变量只针对一行里面分上下两部分,并且大小一致的时候使用
|
| | | /// </summary>
|
| | | public static int ListViewRowHalfHeight = Application.GetRealHeight(90);
|
| | | /// <summary>
|
| | | /// VerticalScrolViewLayout控件行里面上下两部分控件的空白间距,
|
| | | /// 请注意:此变量只针对一行里面分上下两部分,并且大小一致的时候使用
|
| | | /// </summary>
|
| | | public static int ListViewRowSpace = Application.GetRealHeight(0);
|
| | | /// <summary>
|
| | | /// VerticalScrolViewLayout控件里面只有一个主控件的时候,它的高度
|
| | | /// </summary>
|
| | | public static int ListViewRowOnlyViewHeight = Application.GetRealHeight(110);
|
| | | /// <summary>
|
| | | /// 一般显示文字的控件的高度
|
| | | /// </summary>
|
| | |
| | | /// </summary>
|
| | | public static int StatuChangedWaitTime = 200;
|
| | | /// <summary>
|
| | | /// 点号图片有点特殊,需要调整它后面的文字的坐标距离,这个值是后面的文字向左移动的偏移量
|
| | | /// </summary>
|
| | | public static int PointXXLeft = Application.GetRealWidth(10);
|
| | | /// <summary>
|
| | | /// 展开模式时,子控件行与顶部行的X的偏移量
|
| | | /// </summary>
|
| | | public static int ChidrenXvalue = Application.GetRealWidth(80);
|
| | | /// <summary>
|
| | | /// 底部按钮与VerticalScrolViewLayout控件底部的间距
|
| | | /// </summary>
|
| | | public static int BottomButtonAndListViewSpace = Application.GetRealHeight(10);
|
| | |
| | | /// 底线高度(直接指定不需要再次计算的真实值)
|
| | | /// </summary>
|
| | | public static int BottomLineHeight = 1;
|
| | | /// <summary>
|
| | | /// 门锁界面是否是更新状态
|
| | | /// </summary>
|
| | | public static Action<bool> UpdateDoorLockStatusAction = null;
|
| | | /// <summary>
|
| | | /// 是否是界面正在加载中(底层专用,不需要理)
|
| | | /// </summary>
|
| | | public static bool IsFormAdding = false;
|
| | | #if Android
|
| | | /// <summary>
|
| | | /// 两个文本拼接时,为了看起来是正常的,需要减去它们之间的间隔误差
|
| | | /// </summary>
|
| | | public static int TwoTextSpace = Application.GetRealWidth(20);
|
| | | #endif
|
| | | #if iOS
|
| | | /// <summary>
|
| | | /// 两个文本拼接时,为了看起来是正常的,需要减去它们之间的间隔误差
|
| | | /// </summary>
|
| | | public static int TwoTextSpace = Application.GetRealWidth(10);
|
| | | #endif
|
| | | }
|
| | | }
|