| | |
| | | {
|
| | | this.frameTable = new FrameLayout();
|
| | | frameTable.Gravity = Gravity.CenterHorizontal;
|
| | | frameTable.Radius = 8;
|
| | | frameTable.Radius = (uint)Application.GetRealHeight(17);
|
| | | frameTable.Height= Application.GetRealHeight(260);
|
| | | frameTable.Width = Application.GetRealWidth(968);
|
| | | frameTable.BackgroundColor = UserCenterColor.Current.White;
|
| | |
| | | this.frameTable.AddChidren(btnMsg);
|
| | | }
|
| | | //添加底部阴影特效
|
| | | this.btnTime.AddBottomShadow(this.frameTable);
|
| | | this.frameTable.SetViewShadow(true);
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | this.Height = realHeight + Application.GetRealHeight(44);
|
| | | }
|
| | | //添加底部阴影特效
|
| | | this.btnTime.AddBottomShadow(this.frameTable);
|
| | | this.frameTable.SetViewShadow(true);
|
| | |
|
| | | return value;
|
| | | }
|
| | |
| | | }
|
| | | rowFrame.AddChidren(btnMsg);
|
| | | //时间:时分秒
|
| | | var btnTime = new NormalViewControl(176, 58, true);
|
| | | btnTime.X = Application.GetRealWidth(772);
|
| | | var btnTime = new NormalViewControl(190, 58, true);
|
| | | btnTime.X = Application.GetRealWidth(758);
|
| | | btnTime.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnTime.TextAlignment = TextAlignment.CenterRight;
|
| | | btnTime.Text = alarmInfo.Time;
|