From 7167334c0e89dd84827d59e726123d14776e3a09 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 16 六月 2020 11:14:13 +0800 Subject: [PATCH] 2020-06-16-1 --- HDL_ON/UI/Music/View/MusicView.cs | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/Music/View/MusicView.cs b/HDL_ON/UI/Music/View/MusicView.cs index ddb89dd..e09eef3 100644 --- a/HDL_ON/UI/Music/View/MusicView.cs +++ b/HDL_ON/UI/Music/View/MusicView.cs @@ -12,6 +12,7 @@ { Height = Application.GetRealHeight(12 + 139), Width = Application.GetRealWidth(375), + }; /// <summary> ///鐧借壊鑳屾櫙鐨勬帶浠� @@ -23,6 +24,7 @@ Height = Application.GetRealHeight(139), Width = Application.GetRealWidth(375 - 16 * 2), BackgroundColor = Color.WhiteColor, + Radius= (uint)Application.GetRealHeight(12), }; /// <summary> ///鏄剧ず闊充箰鐘舵�佸浘鏍� @@ -45,6 +47,7 @@ Width = Application.GetRealWidth(70), Height = Application.GetRealHeight(25), BackgroundColor = Color.ViewColor, + Radius = (uint)Application.GetRealHeight(12), }; /// <summary> ///缁勫悎鍥炬爣 @@ -65,7 +68,7 @@ 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, @@ -138,6 +141,16 @@ TextAlignment = TextAlignment.CenterLeft, }; + + /// <summary> + /// 鐐瑰嚮浜嬩欢 + /// </summary> + public Button clickBtn = new Button + { + Width = Application.GetRealWidth(130), + Height = Application.GetRealHeight(139), + }; + /// <summary> /// 涓婁竴鏇� /// </summary> @@ -191,12 +204,11 @@ 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); - + } } } -- Gitblit v1.8.0