黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/MainPage/SelectLocalDeviceImageForm.cs
@@ -50,7 +50,7 @@
            bodyFrameLayout.AddChidren(listView);
            int space = this.GetPictrueRealSize(46);
            int backWidth = (listView.Width - ControlCommonResourse.XXLeft * 2 - space * 3) / 4;
            int backWidth = (listView.Width - HdlControlResourse.XXLeft * 2 - space * 3) / 4;
            //防止误差,分两步计算
            int iconWidth = backWidth - this.GetPictrueRealSize(43) - this.GetPictrueRealSize(43);
@@ -73,7 +73,7 @@
                frameBack.Width = backWidth;
                frameBack.Radius = (uint)backWidth / 2;
                frameBack.BackgroundColor = UserCenterColor.Current.White;
                frameBack.X = ControlCommonResourse.XXLeft + (i % 4) * (backWidth + space);
                frameBack.X = HdlControlResourse.XXLeft + (i % 4) * (backWidth + space);
                frameBack.Y = Application.GetRealHeight(58);
                frameRow.AddChidren(frameBack);
@@ -82,7 +82,7 @@
                btnIcon.UnSelectedImagePath = $"FunctionIcon/{i + 1}Icon.png";
                btnIcon.SelectedImagePath = $"FunctionIcon/{i + 1}IconSelected.png";
                btnIcon.Gravity = Gravity.Center;
                frameBack.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
                frameBack.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
                frameBack.ButtonClickEvent += (sender, e) =>
                {