| | |
| | | this.Height = Application.GetMinRealAverage(207);
|
| | | this.Width = Application.GetMinRealAverage(207);
|
| | | this.BackgroundColor = UserCenterColor.Current.White;
|
| | | this.Radius = (uint)Application.GetMinRealAverage(207);
|
| | | this.Radius = (uint)Application.GetMinRealAverage(207) / 2;
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | |
| | | //第二层底色
|
| | | var btnIcon2 = new NormalViewControl(Application.GetMinRealAverage(184), Application.GetMinRealAverage(184), false);
|
| | | btnIcon2.BackgroundColor = 0xfffef1ed;
|
| | | btnIcon2.Radius = (uint)Application.GetMinRealAverage(184);
|
| | | btnIcon2.Radius = (uint)Application.GetMinRealAverage(184) / 2;
|
| | | btnIcon2.Gravity = Gravity.Center;
|
| | | this.AddChidren(btnIcon2);
|
| | |
|
| | |
| | | //第二层底色
|
| | | var btnIcon2 = new NormalViewControl(Application.GetMinRealAverage(184), Application.GetMinRealAverage(184), false);
|
| | | btnIcon2.BackgroundColor = 0xfffef1ed;
|
| | | btnIcon2.Radius = (uint)Application.GetMinRealAverage(184);
|
| | | btnIcon2.Radius = (uint)Application.GetMinRealAverage(184) / 2;
|
| | | btnIcon2.Gravity = Gravity.Center;
|
| | | this.AddChidren(btnIcon2);
|
| | |
|