| | |
| | | using System;
|
| | | using Shared.Common;
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | | using System.Threading.Tasks;
|
| | |
| | | this.AddBindRow(listRelayInfo7);
|
| | | //添加背光灯行
|
| | | this.AddBackLightRow();
|
| | |
|
| | | //借用Y轴坐标
|
| | | var btnTemp = new BottomClickButton();
|
| | | var realHeight = listview.GetChildren(0).Height * listview.ChildrenCount;
|
| | | if (bodyFrameLayout.Height - btnTemp.Yaxis + realHeight > listview.Height)
|
| | | {
|
| | | //促使被挡住的菜单能够向上滑动
|
| | | var frameTemp = new FrameLayout();
|
| | | frameTemp.Height = bodyFrameLayout.Height - btnTemp.Yaxis + Application.GetRealHeight(115);
|
| | | listview.AddChidren(frameTemp);
|
| | | }
|
| | | btnTemp = null;
|
| | | }
|
| | |
|
| | | #endregion
|