| | |
| | | { |
| | | Height = Application.GetRealHeight(12 + 139), |
| | | Width = Application.GetRealWidth(375), |
| | | |
| | | }; |
| | | /// <summary> |
| | | ///白色背景的控件 |
| | |
| | | Height = Application.GetRealHeight(139), |
| | | Width = Application.GetRealWidth(375 - 16 * 2), |
| | | BackgroundColor = Color.WhiteColor, |
| | | Radius= (uint)Application.GetRealHeight(12), |
| | | }; |
| | | /// <summary> |
| | | ///显示音乐状态图标 |
| | |
| | | Width = Application.GetRealWidth(70), |
| | | Height = Application.GetRealHeight(25), |
| | | BackgroundColor = Color.ViewColor, |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | }; |
| | | /// <summary> |
| | | ///组合图标 |
| | |
| | | musicIfonFl.AddChidren(prevBtn); |
| | | musicIfonFl.AddChidren(playBtn); |
| | | musicIfonFl.AddChidren(nextBtn); |
| | | musicIfonFl.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight | HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight); |
| | | mergeBjBtn.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight | HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight); |
| | | |
| | | |
| | | } |
| | | } |
| | | } |