| | |
| | | { |
| | | 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> |
| | | ///组合图标 |
| | |
| | | TextID=StringId.merge, |
| | | X = Application.GetRealWidth(214 + 33), |
| | | Y = Application.GetRealHeight(18 + 4), |
| | | Width = Application.GetRealWidth(24), |
| | | Width = Application.GetRealWidth(24+3), |
| | | Height = Application.GetRealHeight(17), |
| | | TextColor = Color.TextColor, |
| | | TextSize=TextSize.Text12, |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 点击事件 |
| | | /// </summary> |
| | | public Button clickBtn = new Button |
| | | { |
| | | Width = Application.GetRealWidth(130), |
| | | Height = Application.GetRealHeight(139), |
| | | }; |
| | | |
| | | /// <summary> |
| | | /// 上一曲 |
| | | /// </summary> |
| | |
| | | musicIfonFl.AddChidren(singerBtn); |
| | | musicIfonFl.AddChidren(musicNameBtn); |
| | | musicIfonFl.AddChidren(regionBtn); |
| | | musicIfonFl.AddChidren(clickBtn); |
| | | 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); |
| | | |
| | | |
| | | } |
| | | } |
| | | } |