| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | BackgroundColor = 0xFF00ab11, |
| | | BackgroundColor = 0xFFFEF267, |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | }; |
| | | recommendColorView.AddChidren(btnRecommenColor3); |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | BackgroundColor = 0xFF28952e, |
| | | BackgroundColor = 0xFF73FD7B, |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | }; |
| | | recommendColorView.AddChidren(btnRecommenColor4); |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | BackgroundColor = 0xFF45b7fd, |
| | | BackgroundColor = 0xFF45B7FD, |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | }; |
| | | recommendColorView.AddChidren(btnRecommenColor5); |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | BackgroundColor = 0xFF794efc, |
| | | BackgroundColor = 0xFF5558fd, |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | }; |
| | | recommendColorView.AddChidren(btnRecommenColor6); |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetRealWidth(28), |
| | | Height = Application.GetRealWidth(28), |
| | | BackgroundColor = 0xFFFFFFFF, |
| | | BackgroundColor = 0xFF962eff, |
| | | Radius = (uint)Application.GetRealWidth(14), |
| | | }; |
| | | recommendColorView.AddChidren(btnRecommenColor7); |
| | |
| | | }; |
| | | btnRecommenColor3.MouseUpEventHandler = (sender, e) => { |
| | | curColor = btnCurColor.BackgroundColor = btnRecommenColor3.BackgroundColor; |
| | | etCurColorHexInfo.Text = "00AB11"; |
| | | redColor = 0; |
| | | greenColor = 171; |
| | | blueColor = 17; |
| | | etCurColorHexInfo.Text = "FEF267"; |
| | | redColor = 254; |
| | | greenColor = 242; |
| | | blueColor = 103; |
| | | }; |
| | | btnRecommenColor4.MouseUpEventHandler = (sender, e) => { |
| | | curColor = btnCurColor.BackgroundColor = btnRecommenColor4.BackgroundColor; |
| | | etCurColorHexInfo.Text = "28952E"; |
| | | redColor = 40; |
| | | greenColor = 149; |
| | | blueColor = 46; |
| | | etCurColorHexInfo.Text = "73FD7B"; |
| | | redColor = 115; |
| | | greenColor = 253; |
| | | blueColor = 123; |
| | | }; |
| | | btnRecommenColor5.MouseUpEventHandler = (sender, e) => { |
| | | curColor = btnCurColor.BackgroundColor = btnRecommenColor5.BackgroundColor; |
| | |
| | | }; |
| | | btnRecommenColor6.MouseUpEventHandler = (sender, e) => { |
| | | curColor = btnCurColor.BackgroundColor = btnRecommenColor6.BackgroundColor; |
| | | etCurColorHexInfo.Text = "794EFC"; |
| | | redColor = 121; |
| | | greenColor = 78; |
| | | blueColor = 252; |
| | | etCurColorHexInfo.Text = "5558fd"; |
| | | redColor = 85; |
| | | greenColor = 88; |
| | | blueColor = 253; |
| | | }; |
| | | btnRecommenColor7.MouseUpEventHandler = (sender, e) => { |
| | | curColor = btnCurColor.BackgroundColor = btnRecommenColor7.BackgroundColor; |
| | | etCurColorHexInfo.Text = "FFFFFF"; |
| | | redColor = 255; |
| | | greenColor = 255; |
| | | etCurColorHexInfo.Text = "962eff"; |
| | | redColor = 150; |
| | | greenColor = 26; |
| | | blueColor = 255; |
| | | }; |
| | | } |