| | |
| | | //清空bodyFrame
|
| | | this.ClearBodyFrame();
|
| | | |
| | | if (i_listShowDevice.Count == 0)
|
| | | {
|
| | | //没有可添加的目标
|
| | | this.ShowNotDataImage(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uNotHadAddTarget));
|
| | | return;
|
| | | } |
| | | |
| | | listView = new VerticalListControl(29); |
| | | listView.Y = Application.GetRealHeight(-6); |
| | | listView.Height = bodyFrameLayout.Height + Application.GetRealHeight(6); |
| | |
| | | this.AddDeviceRow(i_listShowDevice[i], i_listSelectDevice, SelcetCancel, SelectOnlyOne, i != count);
|
| | | }
|
| | | //调整列表控件的高度
|
| | | listView.AdjustRealHeight(Application.GetRealHeight(23)); |
| | | listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(23), Application.GetRealHeight(6)); |
| | | });
|
| | |
|
| | | //完成
|