| | |
| | | { |
| | | RemoveFromParent(); |
| | | }; |
| | | topView.topNameBtn.Text = "选择定位位置"; |
| | | topView.topNameBtn.TextID = StringId.Setting;// = "选择定位位置"; |
| | | |
| | | FrameLayout viewLayout = new FrameLayout |
| | | { |
| | |
| | | lonlatView.btnText.X = Application.GetRealWidth(16); |
| | | lonlatView.btnLine.X = Application.GetRealWidth(16); |
| | | lonlatView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); |
| | | lonlatView.btnText.Text = "当前的经纬度"; |
| | | lonlatView.btnText.TextID = StringId.LatAndLon; |
| | | lonlatView.btnState.Visible = true; |
| | | lonlatView.btnState.IsMoreLines = true; |
| | | lonlatView.btnState.Height = Application.GetRealHeight(25); |
| | |
| | | locateView.btnText.X = Application.GetRealWidth(16); |
| | | locateView.btnLine.X = Application.GetRealWidth(16); |
| | | locateView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); |
| | | locateView.btnText.Text = "在该位置范围时"; |
| | | locateView.btnText.TextID = StringId.TriggeredRange; |
| | | locateView.btnState.Visible = true; |
| | | locateView.btnState.Text = this.queryItem(r.ToString()); |
| | | viewLayout.AddChidren(locateView.FLayoutView()); |