黄学彪
2019-12-17 5986f63b75bd81c6cef262c670e9251c038cbf5d
ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs
@@ -207,14 +207,14 @@
                    btnPic.Width = Application.GetRealWidth(844);
                    btnPic.Height = Application.GetRealHeight(420);
                    btnPic.ImagePath = data.IconPath;
                    btnPic.Radius = 17;
                    frameContr.AddChidren(btnPic);
                    btnPic.Radius = (uint)Application.GetRealHeight(17);
                    frameContr.AddChidren(btnPic, ChidrenBindMode.BindEventOnly);
                    var btnName = new NormalViewControl(251, 282, true);
                    btnName.X = ControlCommonResourse.XXLeft;
                    btnName.Gravity = Gravity.CenterVertical;
                    btnName.Y = Application.GetRealHeight(58);
                    btnName.BackgroundColor = 0xff333333;
                    btnName.Radius = 17;
                    btnName.RadiusEx = 17;
                    btnName.Text = data.Name;
                    btnName.TextSize = 15;
                    btnName.TextColor = UserCenterColor.Current.White;
@@ -253,6 +253,8 @@
                        }
                    };
                }
                //调整一下高度
                listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(185));
            });
        }
@@ -279,13 +281,13 @@
                }
                else
                {
                    var frameBack = new FrameLayoutControl(false);
                    var frameBack = new FrameLayout();
                    frameBack.X = ControlCommonResourse.XXLeft;
                    frameBack.Y = Application.GetRealHeight(178);
                    frameBack.BackgroundColor = UserCenterColor.Current.White;
                    frameBack.Width = bodyFrameLayout.Width;
                    frameBack.Height = Application.GetRealHeight(1650);
                    frameBack.RadiusEx = 20;
                    frameBack.Radius = (uint)Application.GetRealHeight(58);
                    frameDeviceTable.AddChidren(frameBack);
                    var listView = new VerticalListControl(23);
@@ -382,6 +384,9 @@
                    }
                };
            }
            //列表自己有个23的Y轴坐标
            listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(23), Application.GetRealHeight(300 - 23));
        }
        #endregion