陈嘉乐
2020-06-24 adb12dcdbb2ddaeac687c3aa9e57bb7ed459ab7e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs
@@ -65,12 +65,12 @@
            //把上圆角覆盖为方角
            this.btnTopTemp = new NormalViewControl(this.Width, Application.GetRealHeight(40), false);
            btnTopTemp.BackgroundColor = i_backColor;
            this.AddChidren(btnTopTemp, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnTopTemp, ChidrenBindMode.BindEvent);
            //把右下圆角覆盖为方角
            this.btnBomTemp = new NormalViewControl(this.Width / 2, Application.GetRealHeight(40), false);
            btnBomTemp.BackgroundColor = i_backColor;
            btnBomTemp.Gravity = Gravity.BottomRight;
            this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnBomTemp, ChidrenBindMode.BindEvent);
            //取消按钮
            this.btnButton = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false);
            btnButton.Gravity = Gravity.Center;
@@ -78,7 +78,7 @@
            btnButton.Text = i_text;
            btnButton.TextAlignment = TextAlignment.Center;
            btnButton.BackgroundColor = i_backColor;
            this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
            //重写控件点击状态
            this.SelectStatuEvent += (statu) =>
@@ -108,7 +108,7 @@
            btnButton.TextAlignment = TextAlignment.Center;
            btnButton.BackgroundColor = i_backColor;
            btnButton.oldBackgroundColor = i_backColor;
            this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
#endif
        }