| | |
| | | frameBack.Height = bodyFrameLayout.Height - btnFinish.Yaxis;
|
| | | bodyFrameLayout.AddChidren(frameBack);
|
| | |
|
| | | var realHeight = listview.GetChildren(0).Height * listview.ChildrenCount;
|
| | | if (bodyFrameLayout.Height - btnFinish.Yaxis + realHeight > listview.Height)
|
| | | if (listview.ChildrenCount > 0)
|
| | | {
|
| | | //促使被挡住的菜单能够向上滑动
|
| | | var frameTemp = new FrameLayout();
|
| | | frameTemp.Height = frameBack.Height + Application.GetRealHeight(115);
|
| | | listview.AddChidren(frameTemp);
|
| | | var realHeight = listview.GetChildren(0).Height * listview.ChildrenCount;
|
| | | if (bodyFrameLayout.Height - btnFinish.Yaxis + realHeight > listview.Height)
|
| | | {
|
| | | //促使被挡住的菜单能够向上滑动
|
| | | var frameTemp = new FrameLayout();
|
| | | frameTemp.Height = frameBack.Height + Application.GetRealHeight(115);
|
| | | listview.AddChidren(frameTemp);
|
| | | }
|
| | | }
|
| | | btnFinish = null;
|
| | | }
|
| | | }
|
| | | }
|