| | |
| | | frameBack.Height = Application.GetRealHeight(1300);
|
| | | frameBack.Y = Application.GetRealHeight(444);
|
| | | frameBack.BackgroundColor = 0xa1ffffff;
|
| | | frameBack.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
|
| | | frameBack.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
|
| | | bodyFrameLayout.AddChidren(frameBack);
|
| | |
|
| | | //桌布控件
|
| | |
| | | btnSensor.TextSize = 16;
|
| | | btnSensor.TextAlignment = TextAlignment.Center;
|
| | | btnSensor.TextColor = UserCenterColor.Current.TextColor2;
|
| | | btnSensor.IsBold = true;
|
| | | frameSensor.AddChidren(btnSensor, ChidrenBindMode.BindEventOnly);
|
| | | //底线
|
| | | var btnSensorLine = new NormalViewControl(40, 10, true);
|
| | |
| | | //字体大小和颜色变更
|
| | | btnSensor.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnSensor.TextSize = 14;
|
| | | btnSensor.IsBold = false;
|
| | | btnLog.TextColor = UserCenterColor.Current.TextColor2;
|
| | | btnLog.TextSize = 16;
|
| | | btnLog.IsBold = true;
|
| | |
|
| | | btnLogLine.Visible = true;
|
| | | btnSensorLine.Visible = false;
|
| | |
| | | //字体大小和颜色变更
|
| | | btnSensor.TextColor = UserCenterColor.Current.TextColor2;
|
| | | btnSensor.TextSize = 16;
|
| | | btnSensor.IsBold = true;
|
| | | btnLog.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnLog.TextSize = 14;
|
| | | btnLog.IsBold = false;
|
| | |
|
| | | btnLogLine.Visible = false;
|
| | | btnSensorLine.Visible = true;
|