| | |
| | | var frameBorder = new FrameLayout();
|
| | | frameBorder.Y = Application.GetRealHeight(147);
|
| | | frameBorder.Gravity = Gravity.CenterHorizontal;
|
| | | frameBorder.Width = Application.GetMinRealAverage(887);
|
| | | frameBorder.Height = Application.GetMinRealAverage(423);
|
| | | frameBorder.BorderWidth = 3;
|
| | | frameBorder.Width = Application.GetRealWidth(887);
|
| | | frameBorder.Height = Application.GetRealHeight(423);
|
| | | frameBorder.Radius = (uint)Application.GetRealHeight(6);
|
| | | frameBorder.BorderWidth = 1;
|
| | | frameBorder.BorderColor = 0xffd0d0d0;
|
| | | bodyFrameLayout.AddChidren(frameBorder);
|
| | |
|
| | |
| | | btnIcon.Name = "btn" + listDevice[i].DeviceEpoint;
|
| | | btnIcon.X = defultXX + i * (frame.Height + space);
|
| | | btnIcon.Radius = (uint)frame.Height / 2;
|
| | | btnIcon.BorderWidth = (uint)Application.GetMinRealAverage(6);
|
| | | btnIcon.BorderWidth = 2;
|
| | | btnIcon.BorderColor = 0xff979797;
|
| | | btnIcon.TextAlignment = TextAlignment.Center;
|
| | | btnIcon.TextColor = UserCenterColor.Current.TextGrayColor3;
|